#main .ui-content,
#preview .ui-content {
    overflow: hidden;
    height: 100% !important;
    margin: 0;
}

#main .navigation {
    position: absolute;
    width: 90px;
    height: 90px;
    font-size: 15px;
    line-height: 0px;
    border-radius: 10px;
    opacity: .5;
    text-align: center;
}

#main-alert-message,
#preview-alert-message {
    font-size: 22px;
}

#mode-btn {
    top: 5px;
    left: 5px;
    background-image: url('../images/photo.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
}

#mode-btn.movie {
    background-image: url('../images/movie.png');
}

#settings-btn {
    top: 5px;
    right: 5px;
    background-image: url('../images/settings.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
}

#record-progress {
    position: absolute;
    margin: 0;
    padding: 0;
    background: #454545;
    bottom: 30px;
    left: 30px;
    right: 30px;
    height: 10px;
    border-radius: 5px;
}

#record-progress-val {
    margin: 0;
    padding: 0;
    border: 0;
    background: #FFAB1B;
    height: 10px;
    width: 0;
    border-radius: 5px;
}

#record-progress-label {
    position: absolute;
    color: #aaa;
    font-size: 26px;
    right: 0;
    bottom: 10px;
}

#preview-progress-tap-area {
    position: absolute;
    margin: 0;
    padding: 0;
    bottom: 20px;
    left: 30px;
    right: 30px;
    height: 30px;
    z-index: 3;
}

#preview-progress {
    margin: 10px 0;
    padding: 0;
    background: #454545;
    height: 10px;
    border-radius: 5px;
    opacity: .5;
}

#preview-progress-val {
    margin: 0;
    padding: 0;
    border: 0;
    background: #FFF;
    height: 10px;
    width: 0;
    border-radius: 5px;
    max-width: 100%;
}

#preview-progress-label {
    position: absolute;
    color: #FFF;
    font-size: 26px;
    right: 0;
    bottom: 20px;
}

#camera-preview {
    position: absolute;
    top: 0;
    left: 0;
}

.hidden {
    visibility: hidden !important;
}

.ui-listview .hidden {
    display: none;
}

#preview-picture {
    position: absolute;
}

#preview-foreground {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/pause.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 20%;
    opacity: .5;
    z-index: 2;
}

#preview-foreground.paused {
    background-image: url('../images/play.png');
}

#focus-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: -webkit-flex;
}

#focus-frame {
    margin: auto;
    width: 100px;
    height: 100px;
    border: 2px solid #fff;
    border-radius: 10px;
}

#focus-frame.autofocus-success {
    border-color: green;
}

#focus-frame.autofocus-failure {
    border-color: red;
}

.autofocus-animation {
    -webkit-animation-name: autofocus-animation;
    -webkit-animation-duration: .5s;
    -webkit-animation-timing-function: 'ease-in';
}

@keyframes autofocus-animation {
    0% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
    60% {
        width: 100px;
        height: 100px;
    }
    80% {
        width: 120px;
        height: 120px;
    }
    100% {
        width: 100px;
        height: 100px;
        opacity: 1;
    }
}

.ui-listview li.li-has-checkbox,
.ui-listview li.li-has-radio {
    padding: 0;
}

.ui-listview li.li-has-checkbox label,
.ui-listview li.li-has-radio label {
    position: relative;
    display: block;
    padding: 23px 14px 22px 16px;
}

.ui-listview li input[type="checkbox"],
.ui-listview li input[type="radio"] {
        position: absolute;
        right: 8px;
        top: 0px;
        margin-top: 19px;
}

.ui-popup .ui-popup-footer .ui-btn {
    text-indent: 0;
}

.ui-header .ui-title {
    height: 100%;
}

@media all and (-tizen-geometric-shape: circle) {

    #mode-btn {
        top: 30px;
        left: 50%;
        margin-left: -100px;
    }

    #settings-btn {
        top: 30px;
        right: 50%;
        margin-right: -100px;
    }

    #preview-progress-tap-area {
        bottom: 90px;
    }

    #preview-progress-label {
        left: 0;
        text-align: center;
        bottom: -20px;
    }

    #record-progress {
        bottom: 100px;
    }

    #record-progress-label {
        left: 0;
        text-align: center;
        bottom: -30px;
    }

    .btn-apply:before {
        background-color: rgba(0, 149, 255, 1);
        -webkit-mask-image: url(../images/tw_ic_button_apply_holo_dark.png);
    }

    .btn-apply {
        color: transparent;
    }

    .ui-popup .ui-popup-content {
        text-align: center;
    }

    #recording-format .ui-title {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }

    #recording-format-btn {
        border-top: 1px solid rgba(41, 41, 41, 1);
    }

    #picture-format-btn {
        border-bottom: 0;
    }

}