html,
body {
    background: #000;
    height: 100%;
    margin: 0;
    padding: 5px;
}

body > div {
    -webkit-transition: all 1s ease-in-out;
}

* {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

button:focus {
    outline: 0;
}

a:focus {
    outline: 0;
}


/*body {
    visibility: hidden;
 }*/

#wrapper {
    display: none;
    height: 100%;
}

#main_container {
    position: relative;
    max-width: 580px;
    max-height: 519px;
    width: 100%;
    background: #fff;
}

#modelThumbs {
    padding-top: 5px;
    max-width: 580px;
    margin: auto 0;
}

#log {
    width: 100%;
}

.mirror {
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    -ms-filter: fliph;
    filter: fliph;
}

.hidden {
    opacity: 0;
}

#nowebcamAlert {
    text-align: center;
    display: none;
    position: absolute;
    z-index: 1005;
    left: 12.5%;
    top: 40%;
    width: 75%;
}
#uploadError {
    position: absolute;
    display: none;
    text-align: center;
    padding-top: 30%;
    width:100%;
}
.upload-ui {
    /*font-size: 16px;*/
    position: absolute;
    text-align: center;
    /*max-width: 525px;*/
    width: 100%;
    top: 0;
    display: none;
    /*width: 100%;*/
    /*top: 50%;*/
}

#splashOverlay {
    display: none;
    z-index: 1000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 580px;
    background: url(../img/overlay.png);
}

#splash {
    position: absolute;
    top: 1.25rem;
    left: 2.25rem;
    z-index: 999;
    cursor: pointer;
}

.spinnerOverlay {
    /*display: none;*/
    z-index: 1001;
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 580px;
    max-height: 580px;
    background: url(../img/loading_sm.gif) no-repeat center center;
    background-color: rgba(0, 0, 0, 0.75);
}

.help-overlay {
    display: none;
    z-index: 1001;
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 580px;
    max-height: 519px;
    /*background: url(../img/loading_sm.gif) no-repeat center center;*/
    background-color: rgba(0, 0, 0, 0.75);
}

.facecake-help {
    bottom: 0;
    height: 50%;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
}


/*.facecake-help {
    padding: 1em;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}*/

.facecake-help h2 {
    color: #fff;
}

.facecake-help h5 {
    font-family: "HelveticaNeueW01-45Ligh", "Helvetica Neue", "Helvetica", Arial, sans-serif;
    font-size: 13px;
    color: #fff;
}

.facecake-help .heading-xl {
    color: #fff;
    font-family: "HelveticaNeueW01-UltLt", "Helvetica Neue", "Helvetica", Arial, sans-serif;
    font-weight: 100;
    font-size: 60px;
}

.facecake-help ul {
    margin: auto;
    width: 90%;
    color: #fff;
    text-align: justify;
    font-size: 13px;
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
    /* line 62, ../sass/_typography.scss */
    .facecake-help .heading-xl {
        font-size: 50px;
    }
}

@media screen and (max-width: 768px) {
    /* line 62, ../sass/_typography.scss */
    .facecake-help .heading-xl {
        font-size: 40px;
    }
}

@media screen and (max-width: 480px) {
    /* line 62, ../sass/_typography.scss */
    .facecake-help .heading-xl {
        font-size: 34px;
    }
    /* .facecake-help .continue {
        font-size: 14px;
        right: 0;
    }*/
}

.facecake-help .caps {
    text-transform: uppercase;
}

.facecake-help .heading-caps {
    text-transform: uppercase;
}

.facecake-help .continue {
    color: #999;
}

#spinner {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 580px;
    max-height: 519px;
    background: url(../img/loading_sm.gif) no-repeat center center #fafafa;
}

#nav {
    display: none;
}

#fileSelect {
    /*max-height: 30px;*/
}


/*#rotateBtn {
    position: absolute;
    top: 5px;
    left: 5px;
    display: none;
}*/

#facecakeLogo {
    /* position: absolute;
    bottom: -20px;
    left: 0;*/
    margin-top: 1px;
    padding-top: .25rem;
    padding-right: .60rem;
    padding-bottom: .25rem;
    padding-left: .30rem;
    font-size: 0.75rem;
    color: #fff;
}


/*
#facecakeLogo button.secondary:hover,
#facecakeLogo button.secondary:focus,
#facecakeLogo .button.secondary:hover,
#facecakeLogo .button.secondary:focus {
    background-color: #444;
}*/

.close-btn button.secondary,
.close-btn .button.secondary {
    position: absolute;
    top: 0;
    right: 0;
    padding-top: .22rem;
    padding-right: .64rem;
    padding-bottom: .32rem;
    padding-left: .64rem;
    font-size: 1.6rem;
    background-color: rgba(0, 0, 0, 0.0);
    z-index: 99;
    color: #fff;
}

.close-btn button.secondary:hover,
.close-btn button.secondary:focus,
.close-btn .button.secondary:hover,
.close-btn .button.secondary:focus {
    background-color: #1a1a1a;
}

#uploadBtnIcon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fafafa;
    display: none;
}

#holder {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 580px;
    max-height: 519px;
    width: 100%;
    height: auto;
}

#shareContainer {
    position: relative;
    max-width: 580px;
    max-height: 519px;
    width: 100%;
    /*background: #fff;*/
}

#shareCvs {
    max-width: 580px;
    max-height: 519px;
    width: 100%;
    height: auto;
    background: #888;
}


/* custom Foundation styles */

.contain-to-grid .top-bar {
    max-width: 45.5rem;
}


/*.row {
    max-width: 43.2rem;
}*/

.column,
.columns {
    padding-left: 0.1rem;
    padding-right: 0.1rem;
}

.alert-box .close {
    color: #ffffff;
    opacity: 0.75;
}

.alert-box .close:hover,
.alert-box .close:focus {
    opacity: 1;
}

#iconBar {
    /*display: none;*/
}

.icon-bar {
    min-height: 35px;
}

.icon-bar .item {
    display: none;
}

div.icon-bar {
    background-color: rgba(0, 0, 0, 0.95);
}

div.icon-bar > * {
    font-size: 0.5rem;
    padding: 0.49rem;
    float: left;
}

div.icon-bar > * i {
    font-size: 1.2rem;
    vertical-align: middle;
}

div.icon-bar > *:hover {
    background: #444444;
}

.icon-bar.six-up .item {
    width: 15%;
}

dialog,
.reveal-modal {
    width: 100%;
}

#shareModal.reveal-modal {
    outline: none !important;
    background-color: rgba(0, 0, 0, 0.85);
    border: solid 1px #000;
    padding: 0;
}

#emailModal.reveal-modal {
    outline: none !important;
    background-color: rgba(255, 255, 255, 1.0);
    border: solid 1px #fff;
}

#emailModal {
    padding: 10px;
}

.share-modal-content {
    margin-top:40px;
}

/*@media only screen and (max-width: 40em) {
    #shareModal dialog,
    .reveal-modal {
        left: 50%;
        margin-left: -40%;
        width: 80%;
        min-height: 75vh;
    }
}*/


/*button.secondary,
.button.secondary {
    opacity: 0.75;
    background-color: #e7e7e7;
    border-color: #b9b9b9;
    color: #333333;
}*/


/*#shareImage {
    width: 100%;
    height: auto;
    max-width: 400px;
}*/

.social-links {
    padding: 20px;
    text-align: center;
}

.social-links a {
    color: #fff;
    padding: 6px;
}


/* scroller styles */

li.asset img {
    width: 100%;
    height: auto;
}


/*custom slick styles*/

.carouselBG {
    /*position: absolute;
    bottom: 0;
    left: 0;*/
    max-height: 55px;
    height: 100%;
    width: 100%;
    pointer-events: none;
    background: #ffffff;
    /*opacity: 0.65;*/
    /* IE 8 */
    /*-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=65)";*/
}

.carouselWrapper {
    /*position: absolute;
    top: 0;
    left: 0;*/
    height: 100%;
    width: 100%;
    /*max-width: 394px;
    max-height: 394px;*/
    /*max-height: 55px;*/
    pointer-events: none;
    background: #ffffff;
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    .carouselWrapper {
        pointer-events: none;
        background: none !important;
    }
}

.carousel {
    position: relative;
    height: 100%;
    max-width: 580px;
    max-height: 519px;
}

.slick-slide {
    outline: none !important;
}

#slick {
    padding: 0 40px 0 40px;
    position: absolute;
    max-height: 55px;
    bottom: 0;
    right: 0;
    left: 0;
    pointer-events: auto;
}

#slick .slick-track {}

#slick .swatch {
    /*padding: 30px;*/
    cursor: pointer;
    /*margin: 0 5px;*/
    width: 100%;
    height: 100%;
    /*width: 55px;*/
}

#slick .swatch p {
    /*background: #fff;*/
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.688em;
    line-height: 100%;
    /*margin: 3px;*/
    padding: 5px;
    /*padding-top: 25%;*/
    text-align: center;
    /*position: relative;*/
    width: 60px;
    /*height: 100%;*/
    display: table-cell;
    height: 55px;
    vertical-align: middle;
}

#slick a .swatch p.shade-name {
    opacity: 0;
    /* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

#slick a:hover .swatch p.shade-name,
#slick a:focus .swatch p.shade-name,
#slick a:active .swatch p.shade-name {
    opacity: 1;
    /* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}


/* ----------- iPhone 5 and 5S ----------- */


/* Portrait and Landscape */

@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) {
    #slick {
        /*padding: 0 40px 0 40px;*/
        padding: 0 35px 0 35px;
    }
    #main_container {
        width: 301px;
        height: 269px;
    }
    #modelThumbs {
        width: 301px;
    }
}


/* ----------- iPhone 6 ----------- */


/* Portrait and Landscape */

@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) {
    #slick .swatch p {
        width: 74px;
    }
    #main_container {
        width: 356px;
        height: 319px;
    }
    #modelThumbs {
        padding-top: 10px;
        width: 356px;
    }
}


/* ----------- iPhone 6+ ----------- */


/* Portrait and Landscape */

@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) {
    #slick {
        padding: 0 40px 0 40px;
    }
    #main_container {
        width: 394px;
        height: 353px;
    }
    #modelThumbs {
        padding-top: 10px;
        width: 394px;
    }
}


/* ----------- Galaxy S3 ----------- */


/* Portrait and Landscape */

@media screen and (device-width: 320px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 2) {
    #slick {
        padding: 0 40px 0 40px;
    }
    #main_container {
        width: 301px;
        height: 269px;
    }
    #modelThumbs {
        padding-top: 10px;
        width: 301px;
    }
}


/* ----------- Galaxy S4 ----------- */


/* Portrait and Landscape */

@media screen and (device-width: 320px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3) {
    #slick {
        padding: 0 40px 0 40px;
    }
    #main_container {
        width: 301px;
        height: 269px;
    }
    #modelThumbs {
        padding-top: 10px;
        width: 301px;
    }
}


/* ----------- Galaxy S5 ----------- */


/* Portrait and Landscape */

@media screen and (device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3) {
    #slick .swatch p {
        width: 65px;
    }
    #main_container {
        width: 341px;
        height: 305px;
    }
    #modelThumbs {
        padding-top: 10px;
        width: 341px;
    }
}


/* ----------- Asus Nexus 7 ----------- */


/* Portrait and Landscape */

@media screen and (device-width: 601px) and (device-height: 906px) and (-webkit-min-device-pixel-ratio: 1.331) and (-webkit-max-device-pixel-ratio: 1.332) {
    #slick {
        padding: 0 40px 0 40px;
    }
    #main_container {
        width: 580px;
        height: 519px;
    }
    #modelThumbs {
        padding-top: 10px;
        width: 580px;
    }
}


/* ----------- Google Nexus 7 ----------- */


/* Portrait */

@media only screen and (device-width: 600px) and (device-height: 960px) {
    #slick {
        padding: 0 40px 0 40px;
    }
    #main_container {
        width: 580px;
        height: 519px;
    }
    #modelThumbs {
        padding-top: 10px;
        width: 580px;
    }
}

img {
    max-width: 100%;
    height: auto;
    outline: none;
}
