html,
body {
    background: transparent;
    height: 100%;
    margin: 0;
}

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

button:focus {
    outline: 0;
}

a:focus {
    outline: 0;
}


/*body {
    visibility: hidden;
 }*/

#wrapper,
#nav,
#fileSelect,
#iconBar,
.desktop,
.tablet {
    display: none;
}

#video_container {
    position: relative;
    width: 525px;
    height: 525px;
    width: 100%;
    background: #fff;
}

#log {
    width: 100%;
}

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

.hidden {
    opacity: 0;
}

#imgIcon,
#vidIcon {
    position: absolute;
    text-align: center;
    max-width: 525px;
    width: 100%;
    top: 45%;
    display: none;
}

.upload-ui {
    /*font-size: 16px;*/
    /*position: absolute;*/
    text-align: center;
    /*max-width: 525px;*/
    /*width: 100%;*/
    /*top: 0;*/
    display: none;
    max-width: 525px;
    max-height: 525px;
    /*width: 100%;*/
    padding-top: 25%;
}

#uploadError {
    position: absolute;
    display: none;
    text-align: center;
    padding-top: 40%;
    width:100%;
}

#video {
    position: absolute;
    width: 100%;
    max-width: 525px;
    max-height: 525px;
    height: auto;
    visibility: hidden;
}

#spinnerOverlay {
    /*display: none;*/
    z-index: 1001;
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 525px;
    max-height: 525px;
    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: 525px;
    max-height: 525px;
    /*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: 525px;
    max-height: 525px;
    background: url(../img/loading_sm.gif) no-repeat center center #fafafa;
}


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

#facecakeLogo button.secondary,
#facecakeLogo .button.secondary {
    position: absolute;
    bottom: 35px;
    left: 0;
    padding-top: .25rem;
    padding-right: .60rem;
    padding-bottom: .25rem;
    padding-left: .30rem;
    font-size: 0.75rem;
    /*background-color: rgba(26, 26, 26, .20);*/
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 99;
    color: #fff;
    cursor: default;
}


/*
#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: .24rem;
    padding-right: .66rem;
    padding-bottom: .34rem;
    padding-left: .66rem;
    font-size: 1.2rem;
    background-color: rgba(0, 0, 0, 0.75);
    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;
}

.range-slider {
    position: absolute;
    bottom: 5px;
    left: 25%;
    width: 50%;
}

#debug {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-width: 640px;
    max-height: 480px;
}

#holder {
    position: absolute;
    top: 0;
    left: 0;
    width: 525px;
    height: 525px;
    width: 100%;
    height: auto;
}

#shareCvs {
    max-width: 525px;
    max-height: 470px;
    width: 100%;
    height: auto;
}
/* custom Foundation styles */

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

.row {
    max-width: 43.2rem;
}

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

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

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

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

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

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

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

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

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

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

#shareModal.reveal-modal {
    padding: 0;
}


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


/*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: 3px;
}


/* scroller styles */

.scrollbar {
    max-height: 525px;
    overflow: hidden;
    position: relative;
}

.scrollbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
}

.scrollbar li {
    padding: 0;
    /*height: 40px;
    line-height: 40px;*/
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #fff;
    /*background-color: #fafafa;
    font-size: 14px;*/
}

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-height: 525px;
    max-width: 525px;
    pointer-events: none;
}

@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: 525px;
    max-height: 525px;
}

.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;
}

@media only screen and (max-width: 450px) {
    #slick {
        padding: 0 40px 0 40px;
    }
    /* #slick .swatch p {
        width: 66px;
    }*/
    #video_container {
        width: 450px;
        height: 450px;
    }
    #debug,
    #holder {
        width: 450px;
        height: 450px;
    }
}

@media only screen and (max-width: 420px) {
    /*#slick {
        padding: 0 35px 0 35px;
    }*/
    #slick .swatch p {
        width: 65px;
    }
    #video_container {
        width: 420px;
        height: 420px;
    }
    #debug,
    #holder {
        width: 420px;
        height: 420px;
    }
}

@media only screen and (max-width: 304px) {
    #slick {
        padding: 0 30px 0 30px;
    }
    /*#slick .swatch p {
        width: 76px;
    }*/
    #video_container {
        width: 304px;
        height: 304px;
    }
    #debug,
    #holder {
        width: 304px;
        height: 304px;
    }
}

@media only screen and (max-width: 198px) {
    #slick {
        padding: 0 15px 0 15px;
    }
    #slick .swatch p {
        font-size: 0.588em;
        padding: 2px;
        width: 55px;
    }
    #video_container {
        width: 198px;
        height: 198px;
    }
    #debug,
    #holder {
        width: 198px;
        height: 198px;
    }
}


/*#slick .swatch span {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.688em;
    color: #fff;
}*/


/* outdated browser UI */

#outdated {
    height: 100%;
}


/* Flash related */

#flashHolder {
    visibility: none;
    position: absolute;
    left: 0;
    top: 0;
    /*z-index: 1;*/
    background-color: #ffffff;
}

#onDesktop {
    display: none;
    padding: 100px;
    color: #000;
    text-align: center;
    width: 100%;
    max-width: 525px;
}

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

object,
embed {
    height: 100%;
}

object:focus {
    outline: none;
}
