html,
body {
    height: 100%;
    width: 100%;
    /* min-height: 1200px; */
}

body {
    margin: 0;
    /* overflow: hidden; */
}

#camera,
#upload {
    position: relative;
    margin: 0 auto;
    width: 800px;
    height: 800px;
    overflow: hidden;
    object-fit: cover;
}

#camera--view,
#upload {
    background-color: #333;
}

#camera--view,
#camera--sensor,
#camera--sensor2,
#camera--output,
#camera--output2,
#frameImg,
#frameImg2 {
    position: absolute !important;
    width: 800px;
    height: 800px;
    object-fit: cover;
}

.flip {
    transform: scaleX(-1);
    filter: FlipH;
}

#camera--trigger {
    cursor: pointer;
    width: 150px;
    height: 150px;
    background-color: #111;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    border-radius: 50%;
    border: 8px #fff solid;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2);
    position: absolute;
    bottom: 40px;
    left: calc(50% - 70px);
    z-index: 1000;
    opacity: 0.7;
}

#download--trigger {
    cursor: pointer;
    width: 150px;
    height: 150px;
    background-color: #fff;
    color: #20b2aa;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50%;
    border: 8px #20b2aa solid;
    padding: 12px;
    text-align: center;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2);
    left: calc(50% - 70px);
    z-index: 2200;
}

#save--trigger {
    cursor: pointer;
    width: 150px;
    height: 150px;
    background-color: #111;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    border-radius: 50%;
    border: 8px #fff solid;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2);
    position: absolute;
    bottom: 40px;
    left: calc(50% - 70px);
    z-index: 2200;
    opacity: 0.7;
}

#remove-photo--trigger,
#swich-camera--trigger,
#upload--trigger {
    cursor: pointer;
    width: 90px;
    height: 90px;
    background-color: #111;
    font-size: 18px;
    color: #fff;
    border-radius: 50%;
    border: 4px #fff solid;
    padding: 15px;
    margin: 10px;
    position: absolute;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2);
    bottom: 20px;
    z-index: 2000;
    right: 20px;
    opacity: 0.7;
}

.select--trigger {
    cursor: pointer;
    width: 140px;
    height: 140px;
    background-color: #20b2aa;
    font-size: 18px;
    color: white;
    border-radius: 50%;
    border: 7px #fff solid;
    padding: 25px 15px;
    margin: 15px 20px;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2);
    bottom: 40px;
    z-index: 1000;
}

.select--trigger:disabled {
    background-color: #999 !important;
}

#main-control {
    width: 800px;
    height: 200px;
    position: relative;
    margin: 10px auto 0;
}

#devices {
    width: 500px;
}

.control {
    text-align: center;
}

.modal {
    z-index: 4000 !important;
}

.modal-dialog {
    max-width: 780px !important;
    margin: 10px auto !important;
}

.modal-footer {
    justify-content: center !important;
    height: 280px !important;
}

.taken {
    height: 180px !important;
    width: 180px !important;
    transition: all 0.3s ease-in;
    border: solid 3px white;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2);
    top: 20px;
    right: 20px;
    z-index: 2800;
}

.canvas-container {
    z-index: 1000;
}

.text-for-ios li {
    font-size: 26px;
    list-style: none;
    /* color: #20b2aa; */
}


/* 
#camera--output2 {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 900;
} */

#frameImg,
#frameImg2 {
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 1000;
}

#output {
    position: relative;
    object-fit: cover;
    overflow: hidden;
    text-align: center;
    margin-top: 10px;
}

#outputImg {
    position: absolute;
    bottom: 0;
    left: calc(50% - 100px);
    width: 200px;
    height: 200px;
}

#thumbnail-slider {
    width: 800px;
    height: 200px;
    margin: 0 auto;
}

.splide__slide {
    background-color: #333 !important;
}

.splide--nav>.splide__slider>.splide__track>.splide__list>.splide__slide,
.splide--nav>.splide__track>.splide__list>.splide__slide {
    opacity: 1 !important;
}

.splide {
    padding: 10px;
}

.splide__slide.is-active {
    border: 5px solid #20b2aa !important;
}


/* 
@media (max-width: 575.98px) {
    #camera {
        max-width: 400px;
        max-height: 400px;
    }
}

@media (min-width: 576px) {
    #camera {
        max-width: 600px;
        max-height: 600px;
    }
}

@media (min-width: 768px) {
    #camera {
        max-width: 800px;
        max-height: 800px;
    }
}

@media (min-width: 992px) {
    #camera {
        max-width: 800px;
        max-height: 800px;
    }
} */