.mode-button {
    position: absolute;
    width: 80%;
    height: 5%;
    background-color: white;
    text-align: center;
    line-height: 200%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: thin solid rgb(0, 0, 0);
    cursor: pointer;
}
.makeup-type-container {
    box-sizing: border-box;
    position: absolute;
    background-color: white;
    width: 100%;
    height: 7rem;
    bottom: 16%;
    border-left: thin solid black;
    border-right: thin solid black;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 1rem;
}
.selection-box {
    width: 50%;
    height: 4rem;
    text-align: center;
    line-height: 200%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.gray-hover:hover {
    background-color: gray !important;
}
.swatch-background {
    box-sizing: border-box;
    position: absolute;
    background-color: white;
    border: thin solid black;
    border-top: 0;
    width: 100%;
    height: 12%;
    bottom: 0px;
}
.swatch-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60%;
    width: 85%;
}
.swatch {
    width: 15%;
    height: 100%;
    cursor: pointer;
}
#cta-container {
    position: absolute;
    width: 13%;
    height: 60%;
    bottom: 20%;
    right: 0;
    margin: 5% 2%;
}
.cta-button {
    position: absolute;
    left: 0;
    margin: 10% 0%;
    width: 100%;
    cursor: pointer;
}
.canvas-container {
    position: absolute;
    top: 0px;
    width: 100%;
    height: 80%;
    overflow: hidden;
}
.canvas-container > canvas {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.selected-border {
    box-shadow: 0 0 0.6em 0.2em  black;
}
.div-dot {
    cursor: pointer;
    user-select: none;
    position: absolute;
    border-radius: 50%;
    width: 3%;
    padding-bottom: 3%;
    background-color: white;
    transform: translate(-50%,-50%);
}
.checkbox {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 1px solid white;
    margin-right: 0.3em;
    vertical-align: middle;
    cursor: pointer;
}
.save-cancel {
    position: absolute;
    text-align: center;
    width: 50%;
    height: 10%;
    line-height: 400%;
    font-weight: bold;
    cursor: pointer;
    bottom: 0;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}
.adjust-container {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
}
.adjust-image {
    position: absolute;
    bottom: -35%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#adjust-cta {
    top : 72%;
}
#before-after-cta {
    top: 86%;
}
#checkmark {
    display: none;
}
#adjust-container > #mask {
    user-select: none;
}
#compare-drag {
    position: absolute;
    left: 50%;
    bottom: 30%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: black;
    transform: translateX(-50%);
    cursor: pointer;
}
#compare-slider {
    display: none;
    position: absolute;
    width: 2px;
    height: 100%;
    left: 50%;
    background: black;
}
#lipcolor-swatch-container {
    display: flex;
}

#lipcolor-swatch-container{
    padding: 0;
    list-style: none;
    width: 270px;
    display: flex;
    margin: 0;
    justify-content: left;
    align-items: center;
    vertical-align: middle;
    overflow-x: scroll;
}

#lipcolor-swatch-container::-webkit-scrollbar {
    height: 10px;
}

#lipcolor-swatch-container li{
    width: 25px;
    text-align: center;
    margin: 0 10px;
    display: flex;
    align-items: center;
}

#lipcolor-swatch-container li a{
    cursor: pointer;
    width: 25px;
    display: inline-block;
    height: 25px;
    background: #fff;
    border-radius: 50px;
    border: 1px solid #c1bfbf;
    padding: 2px;
}

#lipcolor-swatch-container li a span{
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50px;
}

.lipcolor-swatch{
    width: 50px;
    height: 50px;
}

#lipcolor-box {
    background-color: black;
    color: white;
}

#rendered-canvas-container {
    display: none;
}
#orig-canvas-container {
    display: none;
}
#ui-interface {
    display: none;
}
#loading-overlay {
    display: none;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0.7;
}
#gif-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#close-button {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 10%;
    cursor: pointer;
}
#live-mode-button {
    top: 45%;
}
#photo-mode-button {
    top: 55%;
}
#title-text {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5em;
    cursor: default;
}
#app-container {
    position: relative;
    width: 360px;
    height: 640px;
    background: #eeeeee;
    overflow: hidden;
    margin: 0 auto;
}
@media only screen and (max-width: 600px) {
    #app-container {
        width: 100%;
        max-width: 401px;
        height: 360px;
        top: 110px;
        display: inline-block;
        position: relative;    
        text-align: center;
        background: #eeeeee;
    }

    #orig-canvas-container{
        width: 280px;
        left: 55px;
    }

    .makeup-type-container {
      height: 6rem;
    }

    .swatch-background {
      height: 18%;
    }
}

#coord-buttons {
    height: 100%;
    width: 100%;
}
#instruction-panel {
    display: none;
    position: absolute;
    height: 15%;
    width: 100%;
    color: white;
    background-color: black;
    opacity: 0.7;
}
#mouth-open-chk {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#instruction-text {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 30%;
}
#adjust-reset {
    display: none;
    background-color: white;
    left: 0;
    border-left: 1px solid black;
}
#save-coords {
    display: none;
    color: white;
    background-color: black;
    right: 0;
}
#adjust-cancel {
    display: none;
    position: absolute;
    bottom: 10%;
    height: 5%;
    width: 30%;
    background-color: black;
    color: white;
    border-top-right-radius: 100%;
    cursor: pointer;
}
#cancel-text {
    position: absolute;
    bottom: 15%;
    left: 10%;
}
#mouth-open-text {
    position: relative;
    color: white;
    top: 2.5px;
    cursor: pointer;
}
#error-screen {
    display: none;
    position: absolute;
    background-color: white;
    border: thin solid rgb(0, 0, 0);
    height: 20%;
    width: 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#error-title {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#error-text {
    position: absolute;
    text-align: center;
    top: 30%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
}
#try-again-button {
    position: absolute;
    background-color: black;
    color: white;
    height: 40%;
    width: 70%;
    text-align: center;
    line-height: 300%;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}
.moveable-button {
    top: 72%;
    -webkit-transition: 0.8s;
    transition: top 0.8s;
}
.adjust-collapse-cta-new-position {
    top: 20%;
}
.adjust-left-eye-cta-new-position {
    top: 33%;
}
.adjust-right-eye-cta-new-position {
    top: 45.5%;
}
.adjust-lips-cta-new-position {
    top: 58%;
}

.lipcolor-box-text-color {
    background: white;
    bottom: 12%;
    border-left: thin solid black;
    border-right: thin solid black;
    color: black;
    font-size: 1.5rem;
    height: 4%;
    margin-top: 1rem;
    position: absolute;
    text-align: center;
    width: 100%;
}