#livestream_scanner .modal-dialog {
    margin-top: 45px;
    position: relative;
    width: calc(62% - 48px);
    /*height: calc(100% - 48px);*/
    max-height: 885px;
    /*max-width: 1363px;*/
    margin-bottom: 0;
    max-width: 600px;
    min-width: 450px;
    height: 100%;
}

.modal-dialog .devsite-avatar-video-overlay {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.modal-dialog .devsite-avatar-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-dialog .devsite-avatar-video-overlay-mask {
    width: 80px;
    height: 80px;
    -webkit-transition: width .1s linear,height .1s linear;
    transition: width .1s linear,height .1s linear;
    position: relative;
    /*background: hsla(0,0%,100%,.6);*/
    background: none;
    border: 4px solid #ffffff;
}

.modal-dialog .devsite-avatar-video-overlay-mask {
    width: 38.8%;
    height: 45.1%;
    top: 0;
}

.modal-dialog .devsite-avatar-video-overlay-mask.real-face {
    width: 32.8%;
    height: 57.1%;
}

.modal-dialog .devsite-avatar-photobooth-controls {
    position: absolute;
    left: 0;
    right: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 100;
    bottom: calc(9% - 24px);
}

.modal-dialog #upload-photo {
    border: none!important;
    background: #e6f0fe;
    color: #1a73e8;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    /*box-shadow: 0 1px 3px 0 rgb(60 64 67 / 30%), 0 4px 8px 3px rgb(60 64 67 / 15%);*/
    margin: 0;
    padding: 10px 16px 10px 14px;
    height: 36px;
    border-radius: 5px;
}

.modal-dialog #upload-photo-input {
    position: absolute;
    bottom: 200%;
    opacity: 0;
}

.modal-dialog #take-photo {
    border: 1px solid #fff !important;
    border-radius: 50%;
    background: var(--bg-color);
    color: #fff;
    width: 55px;
    height: 55px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    /*box-shadow: 0 1px 3px 0 rgb(60 64 67 / 30%), 0 4px 8px 3px rgb(60 64 67 / 15%);*/
    margin: 10px;
    padding: 0;
    font-size: 25px;
}
.modal-dialog #take-photo:focus {
    outline: none;
}

.modal-dialog #take-photo:disabled {
    cursor: not-allowed;
}

.modal-dialog #switch-camera {
    border: none!important;
    border-radius: 50%;
    background: #1e88e5;
    color: #fff;
    width: 55px;
    height: 55px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    /*box-shadow: 0 1px 3px 0 rgb(60 64 67 / 30%), 0 4px 8px 3px rgb(60 64 67 / 15%);*/
    margin: 0 2%;
    padding: 0;
}

.modal-dialog #switch-real-camera {
    border: none!important;
    border-radius: 50%;
    background: #1e88e5;
    color: #fff;
    width: 55px;
    height: 55px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    /*box-shadow: 0 1px 3px 0 rgb(60 64 67 / 30%), 0 4px 8px 3px rgb(60 64 67 / 15%);*/
    margin: 0 2%;
    padding: 0;
}

.modal-dialog #take-real-photo {
    border: none!important;
    border-radius: 50%;
    background: #1e88e5;
    color: #fff;
    width: 55px;
    height: 55px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    /*box-shadow: 0 1px 3px 0 rgb(60 64 67 / 30%), 0 4px 8px 3px rgb(60 64 67 / 15%);*/
    margin: 0 2%;
    padding: 0;
}
.modal-dialog #take-real-photo:focus{
    outline: none;
}

.modal-dialog #save-avatar {

}

.modal-dialog .warning-container {
    position: absolute;
    top: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    left: 0;
}

.modal-dialog .warning-container .text-warning {
    color: #fff !important;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 5px 20px;
    width: 100%;
    margin: 0 16px;
}

#popup_loading_camera_login .dialog-login {
    width: 50%;
    margin-left: 25%
}

.text-load-camera {
    font-size: 24px;
}

.text-load-register {
    font-size: 30px;
}

.noteStep2 {
    text-align: left;
    margin-top: 3px;
    width: 88%;
    margin-left: 6%;
}

.customizer-controller {
    -webkit-box-flex: 0;
    -webkit-flex-grow: 0;
    -moz-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    text-align: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -moz-box-orient: horizontal;
    -moz-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -moz-box-pack: end;
    -ms-flex-pack: end;
    justify-content: center;
}

.input-fullname {
    margin-bottom: 10px;
    max-width: 85%;
    margin-left: 7.5%;
}

a:hover {
    text-decoration: none;
}

#video-local {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#canvas_register {
    width: 100%;
    object-fit: cover;
    height: 100%;
    position: absolute;
    right: 0;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.modal-dialog .modal-content .devsite-avatar-video-overlay-mask {
    width: 50%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-dialog .modal-content .devsite-avatar-video-overlay-mask .waring-check-camera {
    display: none;
    font-size: 16px;
    color: #fff;
}

/* Css for live2 contentarea */
.contentarea {}

.choose-image-file {
    height: 36px;
    padding: 7px 12px 7px 12px;
    background-color: #e6f0fe;
    border: none;
}

#back-to-step2 {
    margin: 0;
    background-color: #e6f0fe;
    border: none;
}

#switch-camera, #switch-real-camera {
    background-color: #e6f0fe !important;
    border: none !important;
}

.text-color {
    color: #1a73e8 !important;
}

/* Css for progres bar */
#progressbar, .progressbar {
    overflow: hidden;
    color: lightgrey;
    margin: 0 0 5px 0;
}

#progressbar .active, .progressbar .active {
    color: #000000
}

#progressbar li, .progressbar li {
    list-style-type: none;
    font-size: 12px;
    width: 50%;
    float: left;
    position: relative;
    text-align: center;
}

#progressbar #account:before, .progressbar .account:before {
    font-family: FontAwesome;
    content: "\f023"
}

#progressbar #personal:before, .progressbar .personal:before {
    font-family: FontAwesome;
    content: "\f007"
}

#progressbar #payment:before, .progressbar .payment:before {
    font-family: FontAwesome;
    content: "\f09d"
}

#progressbar #confirm:before, .progressbar .confirm:before {
    font-family: FontAwesome;
    content: "\f00c"
}

#progressbar li:before, .progressbar li:before {
    width: 50px;
    height: 50px;
    line-height: 45px;
    display: block;
    font-size: 18px;
    color: #ffffff;
    background: lightgray;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    padding: 2px
}

#progressbar li:after, .progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: 0;
    top: 25px;
    z-index: -1
}

#progressbar li.active:before,
#progressbar li.active:after, .progressbar li.active:before,
.progressbar li.active:after {
    background: skyblue
}

/* ICON */
.loginFaceAuth .material-icons {
    font-size: 18px;
    height: 18px;
    width: 18px;
    position: relative;
    top: -2px;
    vertical-align: middle;
    margin: 0 7px 0 0;
}

.logoutFaceAuth .material-icons {
    font-size: 18px;
    height: 18px;
    width: 18px;
    position: relative;
    top: -2px;
    vertical-align: middle;
    margin: 0 7px 0 0;
}

.registerCustomer .material-icons {
    font-size: 18px;
    height: 18px;
    width: 18px;
    position: relative;
    top: -2px;
    vertical-align: middle;
    margin: 0 7px 0 0;
}
