/* Camera Modal */

.video-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: 100%; */
    /* max-width: 640px; */
    height: 100%;
    /* overflow: hidden; */
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    playsinline: true;
    webkit-playsinline: true;
}

.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    max-height: 80%;
    pointer-events: none;
}

.overlay-text {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ffffff40;
    padding: 1px 5px;
    border-radius: 5px;
    font-weight: bold;
}

.controls-top {
    position: absolute;
    top: calc(50% - 120px);
    left: 10px;
    /* transform: translateX(-50%);
    display: flex;
    gap: 10px; */
}

.controls-top button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
}

.controls-bottom {
    position: absolute;
    bottom: calc(50% - 35px);
    right: 62px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}




.controls button:hover {
    background: rgba(0, 0, 0, 0.7);
}


.photo-button {
    width: 100px;
    height: 100px;
    bottom: 10%;
    left: 50%;
    margin-top: -50px;
    margin-left: -50px;
    position: absolute;
    cursor: pointer;

}
.circle {
    position: absolute;
    top: 12%;
    left: 12%;
    bottom: 12%;
    right: 12%;
    border-radius: 100%;
    background-color: #e63946;
    /* opacity: 0; */
}
.ring {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    
    border-radius: 100%;
    border: 0.5em solid #ffffff;
    opacity: 0.8;
}
.photo-button .circle, .photo-button .ring {
    transition: all 0.25s;
}
.photo-button:hover .circle {
    opacity: 1;
}
.photo-button:active .ring {
    opacity: 1;
}
.photo-button:active .circle {
    opacity: 0.5;
}


.closeCamera {
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 1000;
    color: #fff;
    font-size: 23px;
}


/* Images Captured */

#imagesCaptured {
    display: none;
}




.card.images {

    .card.needed {

        min-height: 180px;
        margin: 0 0 10px 0;
    
        img {
            max-height: 85px;
        }
    
    }

    .card.taken {

        margin-bottom: 10px;

        .card-body {
            padding: 0;
        }

        .card-footer {
            padding: 5px;
            position: relative;

            .delete-btn {
                position: absolute;
                right: 5px;
                top: 5px;
                font-size: 15px;
            
                border: 1px solid #d4d4d4;
                border-radius: 78px;
                padding: 7px 10px;
                width: 34px;
                height: 33px;
            
                @include tablet{
                    font-size: 16px;
                }
            }
            

        }
        
        
    }
    


}


.alert {

    p {
           margin-bottom: 6px;
    }
}


#nav-steps {

    display: flex;
    gap: 10px;
    padding-left: 0;

    .btn {

        border: 1px solid #d4d4d4;
        border-bottom: 0;
        border-radius: 10px 10px 0 0;

        @media screen and (max-width: 380px) {
            padding-left: 5px;
            padding-right: 5px;
        }

    }

}


.header-wrap .header-left {
    border: 0;
}

.header-wrap .user-profile i {
    top: 2px;
}


.boxed-btn.large-btn {
    margin-top: 1rem;
    margin-bottom: 1rem;
    width:100%;
    padding: 8px 10px;
}


#appraisal {

    .card.form {

        h4 {
            margin-bottom: 5px;
        }

        .form-label {
            margin-top: 10px;
        }

        .errorMsg {
            margin-top: 10px;
            margin-bottom: 0;
            /* display: block; */
        }
        
    }

}

.ajaxCont {

    display: none;
    background-color: #fff;
    font-family: monospace;
	width: 100%;
	margin: 20px 0;
	border: 1px solid #DF3239;
	padding: 10px;
	
	p { font-weight: 600; }


	#ajaxOutput { display: block; }

}


select.form-control {
    height: 54px;
}


/* Used when spinner is visible */
.hideText {
    display: none;
}

