@import url('https://fonts.googleapis.com/css2?family=Lato:wght@900&display=swap');
/* Start RX PD tool styling */
#wrapper {
    display: none;
}

#pd-video-container {
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

#pd-video-container:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/camera-overlay.png) no-repeat 50% 50%;
    background-size: cover;
    content: '';
    z-index: 999;
}

.no-camera {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    z-index: 99999;
    text-align: center;
}

.no-camera h3 {
    font-size: 24px;
    color: #f5f5f5;
    font-weight: 700;
    margin-bottom: 35px;
    line-height: 1.3
}
.wc-pao-validation-notice {
    display: none;
}
.no-camera p {
    font-size: 18px;
    margin-bottom: 50px;
    color: #f5f5f5
}

.no-camera img {
    display: block;
    margin: 70px auto 20px
}

.no-camera button {
    width: 256px;
    padding: 18px 15px 18px 40px;
    font-size: 20px !important;
    font-weight: 500 !important;
    border-radius: 40px !important;
    letter-spacing: .5px;
    background: url(/wp-content/themes/bb-theme-child/assets/img/refresh.png) no-repeat left 60px center #fff !important;
    border: none;
    color: #000 !important;
    background-size: 30px
}

.no-camera button:hover {
    border-radius: 40px;
    letter-spacing: .5px;
    background: url(/wp-content/themes/bb-theme-child/assets/img/refresh.png) no-repeat left 60px center #f1f1f1 !important;
    background-size: 30px;
    border: none;
    color: #000
}

.no-click {
    pointer-events: none;
}

a.btn {
    display: inline-block;
    vertical-align: middle;
    border-radius: 4px;
    border: 1px solid #1f4490;
    color: #1f4490;
    text-transform: uppercase;
    padding: 16px 25px 12px;
    transition: 0.2s ease-in all;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    min-width: 144px;
    text-align: center;
}

a.btn:hover {
    background: #1f4490;
    color: #fff;
}

a.btn.btn-sec {
    background: #3f6bb2;
    color: #fff;
    border-color: #3f6bb2;
}

a.btn.btn-sec:hover {
    background: #fff;
    color: #3f6bb2;
}

.pd-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #fff;
}

.pd-container {
    max-width: 770px;
    margin: 0 auto;
    position: relative;
}

.pd-area {
    display: none;
}

/* PD Top Bar */
.pd-top-bar {
    background: #edf1fa;
    overflow: hidden;
    padding: 8px 10px 7px;
}

.pd-top-bar .title {
    display: block;
    float: left;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
}

.pd-top-bar .pd-close {
    float: right;
    width: 20px;
    height: 20px;
    background: url(../img/close.png) no-repeat 50% 50%;
    background-size: 100% auto;
    font-size: 0;
    line-height: 0;
}

/* PD Top Area */
.pd-top-area {
    text-align: center;
    padding: 20px 10px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    color: #000;
    min-height: 132px;
}

.pd-top-area a.btn {
    margin: 0 0 22px;
}

.pd-top-area p {
    margin: 0;
}

/* Timer */
.timer {
    display: none;
}

.timer .counter {
    width: 46px;
    height: 46px;
    border-radius: 46px;
    margin: 0 auto 22px;
    background: #000;
    color: #fff;
    text-align: center;
    font-size: 24px;
    line-height: 50px;
}

/* PD Bottom Area */
.pd-bottom-area {
    display: none;
    padding: 0 10px 20px;
    min-height: 132px;
}

.pd-bottom-area .txt-block {
    text-align: center;
    padding: 20px 0 0;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    color: #000;
}

.pd-bottom-area .btn-area {
    margin: 0 0 20px;
}

.pd-bottom-area .btn-area a.btn {
    margin: 0 16px;
}

.pd-bottom-area .txt-block p {
    margin: 0;
}

/* Camera */
.camera-area {
    overflow: hidden;
    position: relative;
}

.camera-area .capture-img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100% !important;
    height: 60vh !important;
    z-index: 9999;
    display: none;
}

.camera-area .capture-img .img-holder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.camera-area .capture-img img {
    width: 100% !important;
    height: auto !important;
}

#my_camera {
    width: 100% !important;
    /* height: 60vh !important; */
    /* height: 100vh !important; */
    height: auto;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-height: 530px;
}

#my_camera video {
    width: 100%;
    height: 100%;
    position: relative;
    float: left;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

#my_camera canvas {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
}

/* Step1 */
.step1-wrapper {
    text-align: center;
    padding: 36px 0 0;
    font-size: 14px;
    line-height: 18px;
}

.step1-wrapper .step-top {
    margin: 0 0 30px;
    font-size: 16px;
    line-height: 20px;
}

.step1-wrapper h4 {
    font-size: 24px;
    line-height: 28px;
    color: #000;
    font-weight: 600;
    margin: 0 0 10px;
}

.step1-wrapper .img-area {
    margin: 0 0 26px;
    overflow: hidden;
    border: 1px solid #ddd;
    padding: 40px 0;
}

.step1-wrapper .img-area .img-holder {
    display: inline-block;
    vertical-align: middle;
    margin: 0 30px;

}

.step1-wrapper .img-area img {
    width: 100%;
    height: auto;
}

.step1-wrapper p {
    margin: 0 0 6px;
}

.step1-wrapper .btn {
    margin: 0 0 20px;
}

@media (max-width:770px) {

    .camera-area .capture-img,
    #my_camera {
        width: 100% !important;
        left: 0;
        transform: none;
        max-height: 700px;
    }

    #my_camera .render-camera {
        position: static;
    }

    .pd-top-area {
        padding: 10px;
        font-size: 14px;
        line-height: 18px;
        min-height: 108px;
    }

    .pd-top-area a.btn {
        margin: 0 0 12px;
    }

    a.btn {
        padding: 12px 10px 8px;
        font-size: 14px;
        line-height: 18px;
        font-weight: 600;
        min-width: 120px;
    }

    .timer {
        padding: 10px 0;
    }

    .timer .counter {
        width: 36px;
        height: 36px;
        border-radius: 36px;
        margin: 0 auto 12px;
        font-size: 18px;
        line-height: 40px;
    }

    .pd-bottom-area .txt-block {
        font-size: 14px;
        line-height: 18px;
    }

    .pd-bottom-area .btn-area a.btn {
        margin: 0 8px;
    }

    .camera-area .capture-img .img-holder {
        height: auto;
    }

    .step1-wrapper {
        padding: 10px 10px 0;
        font-size: 14px;
        line-height: 18px;
    }

    .step1-wrapper .img-area {
        margin: 0 0 10px;
        padding: 10px 0;
    }

    .step1-wrapper .img-area .img-holder {
        width: 100%;
        margin: 10px 0;
        float: none;
    }

    .step1-wrapper .img-area .img-holder img {
        height: 20vh;
        width: auto;
        max-width: 100%
    }

    .step1-wrapper .btn {
        margin: 0 0 10px;
    }

    .step1-wrapper .step-top {
        margin: 0 0 10px;
        font-size: 14px;
        line-height: 18px;
    }

    .step1-wrapper h4 {
        font-size: 18px;
        line-height: 22px;
        margin: 0 0 6px;
    }
}


/* End RX PD tool styling */