.fl-builder-edit #main-pd-container{
	display:block;
	position:inherit;
}
#main-pd-container {
    display: none;
    position: fixed;
    z-index: 9999999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: scroll;
}

.has-own-frame .non-glasses {
    display: none;
}
.has-own-frame .with-glasses{
	display:block;
}

.no-own-frame .non-glasses {
    display: block;
}
.no-own-frame .with-glasses{
	display: none;
}

/*----- No camera detected screen -----*/
.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 !important;color:#fff !important;font-weight:700 !important;margin-bottom:35px !important;line-height:1.3 !important}
.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/uploads/2020/04/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/uploads/2020/04/refresh.png) no-repeat left 60px center #f1f1f1 !important;background-size:30px;border:none;color:#000}
.no-click {pointer-events: none;}

a.btn {
    text-transform: uppercase;
    transition: 0.2s ease-in all;
    text-align: center;
    padding: 15px 16px 15px;
    width: 238px;
    line-height: 16px;
    top: 744px;
    background: #253D85;
    border-radius: 5px;
    color: #fff;
    font-size: 15px;
    display: inline-block;
    vertical-align: top;
	font-weight:600;
}

a.btn:hover {
    background: #55AEBC;
    text-decoration: none;
}
a.btn img {
    margin-left: 5px;
}
.pd-wrapper {
    /*position: fixed;*/
    left: 0;
    top: 0;
    width: 100%;
    /*height: 100%;*/
    z-index: 9999;
	background: #fff;
}
.pd-container {
    max-width: 1194px;
    margin: 0 auto;
	position: relative;
}
.pd-area {
    display: none;
}
.pd-area h3{
    font-weight: 600;
    font-size: 34px;
    line-height: 42px;
    text-align: center;
    letter-spacing: -1px;
    color: #253D85;
    margin-bottom: 25px;
}
.pd-area h4{
    font-weight: 400;
    font-size: 26px;
    line-height: 32px;
    text-align: center;
    letter-spacing: -1px;
    color: #253D85;
    margin-bottom: 40px;
}
.pd-area h4.use-photo{
	font-size:24px;
}
.pd-area h4.use-photo strong{ font-weight:600; }
.pd-instructions-box {
    position: relative;
	padding-right:10px;
}
.step1-wrapper .pd-main-instructions .img-area .img-holder{
    position: relative;
    float: right;
}
.step1-wrapper .pd-main-instructions .img-area{
    position: relative;
    padding-top: 5px;
}
.step1-wrapper .pd-main-instructions .img-area:before {
    content: '';
    position: absolute;
    border-left: 1px solid #E0E0E0;
    left: -2px;
    top: 7px;
    height: 289px;
}
.pd-instructions-box .img-area{
    text-align: right;
}
/* PD Top Bar */
.pd-top-bar {
    overflow: hidden;
    padding: 11px 3.3%;
    background: #FFFFFF;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.08);
}

.pd-top-bar .title {
    float: right;
}
.pd-top-bar .title img {
    width: 215px;
}
.pd-top-bar .pd-close {
    float: left;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #333333;
    margin-top: 6px;
}
.pd-top-bar .pd-close img{ margin-right:8px; }
.pd-top-bar .pd-close span{
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #333333;
}
/* PD Top Area */
.pd-top-area {
    text-align: center;
    padding: 29px 10px 54px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    color: #000;
    min-height: 132px;
}
.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 .btn-area a.btn.retake{
    background: #fff;;
    color: #212121;
    border: 1px solid #BDBDBD;
}
.pd-bottom-area .btn-area a.btn.retake:hover{
    color: #fff;
    border:1px solid transparent;
    background: #253D85;
}
.pd-bottom-area .txt-block p {
    margin: 0;
}

/* Camera */
.camera-area-outer{ 
    background: #f2f2f2;
    margin-top: 217px;
}
.camera-area {
    overflow: hidden;
    position: relative;
    max-width: 769px;
    margin: 0 auto;
    height: auto;
    top:-217px;
}

.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: 100vh !important;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-height: 530px;
}

#my_camera .render-camera {
    position: absolute;
    width: 100% !important;
    height: 100% !important;
    top: 0;
    left: 0;
}

#my_camera #my-fitmix-container:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/camera-overlay.png) no-repeat 50% 50%;
    background-size: cover;
    content: '';
    z-index: 999;
}
.img-with-glasses #my_camera #my-fitmix-container:after{
	background: url(../images/camera-overlay-with-glasses.png) no-repeat 50% 50%;
} 
#my_camera video {
    width: 100% !important;
    height: auto !important;
    transform: scale(1) !important;
    display: block;
}

#my_camera canvas {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
}

/* Step1 */
.step1-wrapper {
    padding: 45px 0 0;
    font-size: 14px;
    line-height: 18px;
}
.pd-main-info {
    display: grid;
    grid-template-columns: 50% 50%;
}
.pd-instructions-wrapper{ background:#fafafa; } 
.step1-wrapper .step-top {
    font-size: 16px;
    line-height: 20px;
    padding: 20px 15% 0 8.4%;
}
.pd-main-instructions {
    display: grid;
    grid-template-columns: 55% 45%;
    padding: 63px 19px 118px 14px;
}
.pd-main-instructions ul {
    margin: 0 0 35px;
    padding: 0;
    list-style: none;
}
.pd-main-instructions ul li {
    margin: 0 0 31px;
}
.pd-main-instructions ul li span {
    background: #253D85;
    width: 41px;
    line-height: 41px;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    color: #fff;
    border-radius: 50%;
	margin-right:10px; 
    font-weight: 600;
    font-size: 24px;
}
.pd-main-instructions ul li p {
    width: calc(100% - 55px);
    display: inline-block;
    vertical-align: top;
    margin-top: 7px;
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    color: #616161;
}
.step1-wrapper h3{
    font-size: 28px;
    line-height: 38px;
    color: #253D85;
    font-weight: 400;
    margin: 0 0 34px;
    letter-spacing: -1px;
}
.step1-wrapper h4 {
    font-weight: 600;
    font-size: 34px;
    line-height: 42px;
    letter-spacing: -1px;
    color: #55AEBC;
}
.step1-wrapper h4 span{
    color: #253D85;   
}
.step1-wrapper .pd-main-info .img-area {
    margin: 0 0 -34px;
    overflow: hidden;
}

.step1-wrapper .img-area .img-holder {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}
.step1-wrapper .img-area img {
    max-width: 100%;
    height: auto;
}

.step1-wrapper p {
    margin: 0 0 6px;
}

.step1-wrapper .btn {
    margin: 0 0 20px;
}
.pd-taken {
	background: #F0F0F0;
    border-radius: 5px;
    width: 100%;
    padding: 7px 29px 7px 29px;
    font-weight: 600;
    font-size: 14px;
    line-height: 131%;
    align-items: center;
    color: #0F8A56;
    margin-top: 7px !important;
    display: block;
    float: left;
}
.pd-taken img {
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
}
.pd-taken span {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 36px);
}
@media (max-width:1024px){
    .pd-area h3,
    .step1-wrapper h3 {
        font-size: 22px;
        line-height: 28px;
        margin: 0 0 9px;
    }
    .pd-area h4,
    .step1-wrapper h4 {
        font-size: 22px;
        line-height: 28px;
    }
    .pd-main-instructions ul li {
        margin: 0 0 16px;
    }
    .pd-main-instructions ul li p {
        margin-top: 7px;
        font-size: 16px;
        line-height: 22px;
        width: calc(100% - 43px);
    }
    .pd-main-instructions ul li span {
        width: 32px;
        line-height: 32px;
        margin-right: 6px;
        font-size: 18px;
    }
    .pd-instructions-box {
        padding-right: 20px;
    }
    .step1-wrapper .pd-main-instructions .img-area:before {
        left: -18px;
    }
}
@media (max-width:770px) {
	.pd-taken{ margin-top:0; margin-bottom:7px; }
	.camera-area .capture-img, #my_camera {
		max-height: inherit;
		height: auto !important;
	}
    .pd-area h3,
    .step1-wrapper h3 {
        font-size: 18px;
        line-height: 22px;
        margin: 0 0 9px;
    }
    .pd-area h4,
    .step1-wrapper h4 {
        font-size: 18px;
        line-height: 22px;
    }
    .pd-area h4{ margin-bottom: 15px; }
    .pd-wrapper{ padding-bottom: 0;}
    .pd-main-instructions ul {
        margin: 0 0 20px;
    }
    .pd-main-instructions ul li span {
        width: 24px;
        line-height: 24px;
        margin-right: 6px;
        font-size: 14px;
    }
    .pd-main-instructions ul li p {
        margin-top: 0;
        font-size: 14px;
        line-height: 22px;
        width: calc(100% - 34px);
    }
    .pd-main-info {
        grid-template-columns: auto;
    }
    .camera-area .capture-img,
    #my_camera {
        width: 100% !important;
		left: 0;
		transform: none;
		max-height: 500px; 
    }

    #my_camera .render-camera {
        position: static;
    }

    .pd-top-area {
        padding: 20px 15px;
        font-size: 14px;
        line-height: 18px;
        min-height: 108px;
    }
    .pd-bottom-area .btn-area{
        margin:0;
    }
    .pd-main-instructions ul li {
        margin: 0 0 12px;
    }
    a.btn {
        padding: 11px 10px 11px;
        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 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 .btn {
        margin: 0 0 10px;
    }
    .step1-wrapper .step-top {
        margin: 0 0 10px;
        font-size: 14px;
        line-height: 18px;
        padding: 15px 15px 0;
        text-align: center;
    }
    .pd-instructions-box{ padding-right:0; }
    .pd-main-instructions{
        grid-template-columns: auto;
        padding: 15px 15px 0;
    }
    .step1-wrapper .pd-main-instructions .img-area:before{ display: none; }
    .pd-top-bar .pd-close span{ display: none; }
    .camera-area-outer{ margin-top: 0;}
    .camera-area{ top:0; }
}
@media (max-width:480px){
	.btn-holder{ text-align:center; }
}