/* Form */
.video-record-tab,
.video-record-tab{
    display: flex;
    width: 100%;
    height: 40px;
    align-items: center;
    justify-content: space-between;
    background-color: #dbd9d9;
    padding: 0 20px;
    margin-bottom: 5px;
    color: #000;
    border-radius: 5px;
    position: relative;
    z-index: 1;
}
.video-record-tab{

}

.video-record-tab.active{
    border-radius: 5px 5px 0 0;
    margin-bottom: 0;
}

.video-record-content,
.video-record-content{
    position: relative;
    top: -10px;
    padding: 0 20px;
    background: #eeeeee;
    display: none;
    height: 0;
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    transition: height 0.2s, opacity 0.2s, visibility 0.2s;
}
.video-record-content.active,
.video-record-content.active{
    display: block;
    padding: 20px;
    height: 100%;
    opacity: 1;
    visibility: visible;
    transition: height 0.2s, opacity 0.2s, visibility 0.2s;
}

.video-record-content{

}

.video-record-tab.complete{
    background-color: #ff9696;
    color: #fff;
}

/**/
.d-none{
    display:none
}
.scan-qr-code{
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    color: #464646;
}

.flex-row{
    display:flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.flex-col-6{
    width: 50%;
    flex: 0 0 50%;
    padding: 0 15px;
}

.flex-col-12{
    width: 100%;
    flex: 0 0 100%;
    padding: 0 15px;
}

.video-record-content .field-input{
    margin-bottom: 20px;
}

.video-record-content .field-radio{
    margin-bottom: 40px;
}

.video-record-content .field-input label{
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 14px;
    color: #A4A4A4;
    margin-bottom: 6px;
}

.video-record-content .field-input input{
    height: 50px;
    padding: 0 10px;
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: #A4A4A4;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
}
.video-record-content .field-radio label{
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 28px;
    color: #464646;
    margin: 0 0 20px 0;
}

.video-record-content .field-radio .wpcf7-form-control-wrap{
    display: inline-block;
}

.video-record-content .field-select .wpcf7-form-control-wrap{
    display: block;
    max-width: 50%;
}

.video-record-content .field-radio .wpcf7-form-control{
    display: block;
}

.video-record-content .field-radio.field-location-select .wpcf7-form-control{
    width: 50%;
}

.video-record-content .field-radio .wpcf7-list-item{
    display: inline-flex;
    align-items: center;
    margin-right: 54px;
    margin-left: 0;
}

.video-record-content .field-radio .wpcf7-list-item input{
    margin: 0 10px 0 0;
    height: 20px;
}

.video-record-content .field-radio .wpcf7-list-item .wpcf7-list-item-label{
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #464646;
}
#video-record-btn-next{
    min-width: 150px;
    border-radius: 4px;
    border-color: #b6b6b6;
    color: #fff;
    background-color: #fcb400;
}
#video-record-btn-next:hover{
    background-color: #ecaa05;
    transition: background-color 0.2s;
}

.let-me-story{
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #464646;
    margin-bottom: 6px;
}

.text-notification{
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #464646;
    margin: 16px 0 6px 0;
}

.text-notification p span{
    display: block;
}

.instruction-text{
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.instruction-video{
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: #464646;
    margin: 16px 0 6px 0;
}

.instruction-video ol{
    font-weight: 400;
}

.text-end{
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #464646;
    margin: 16px 0 6px 0;
}

.text-ceo{
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #464646;
    margin: 16px 0 6px 0;
}
.text-ceo ul{
    padding: 0 0 0 25px;
}

.text-ceo ul li{

}

.video-record-content .btn-submit button{
    border-width: 1px!important;
    padding: 10px 20px!important;
    height: 50px;
    font-size: 20px;
    line-height: 20px;
    min-width: 200px;
    border-radius: 4px!important;
    border-color: #b6b6b6!important;
    background-color: #fcb400!important;
    color: #ffffff!important;
}

.video-record-content .btn-submit button:hover{
    background-color: #ecaa05!important;
    transition: background-color 0.2s;
}

.is-alcohol-comment,
.is-driving-comment,
.is-control-comment{
    height: 0;
    opacity: 0;
    visibility: hidden;
    transition: height 0.4s, opacity 0.2s;
}

.is-alcohol-comment.active,
.is-driving-comment.active,
.is-control-comment.active{
    height: 90px;
    opacity: 1;
    visibility: visible;
    transition: height 0.2s, opacity 0.1s;
}

.is-alcohol-comment > *,
.is-driving-comment > *,
.is-control-comment > *{
    width: 100%;
}

.is-alcohol-comment textarea,
.is-driving-comment textarea,
.is-control-comment textarea{
    height: 90px;
}

@media (max-width: 650px){
    .flex-col-6{
        width: 100%;
        flex: 0 0 100%
    }
    .video-record-content .field-radio label{
        font-size: 18px;
        line-height: 22px;
    }
    .video-record-content .field-radio {
        margin-bottom: 24px;
    }
    .scan-qr-code img{
        width: 100px;
        height: 100px;
        min-width: 150px;
        min-height: 150px;
    }
    .video-record-content .field-select .wpcf7-form-control-wrap{
        max-width: 100%;
    }
    #video-record-btn-next{
        min-width: 50%;
    }
    .video-record-content .field-input input{
        height: 40px;
        font-size: 14px;
        line-height: 16px;
    }
    .video-record-content .btn-submit input.wpcf7-form-control.wpcf7-submit{
        width: 50%;
    }
    .video-record-tab, .video-record-tab{
        font-size: 18px;
        line-height: 22px;
    }

    .video-record-content .field-radio.field-location-select .wpcf7-form-control{
        width: 100%;
    }

}


/* Alert */
.alert-ajax{
    display: none;
    opacity: 0;
    visibility: hidden;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: 100%;
    max-width: 500px;
    min-height: 100px;
    background: #fff;
    color: #3f3f3f;
    padding: 0;
    margin: 0;
    list-style: none;
    border-radius: 10px;
    box-shadow: 0 0 8px 2px #3434347a;
    transition: opacity 0.1s, top 0.15s, left 0.15s;
}
.alert-ajax.show{
    display: flex;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s, top 0.3s, left 0.3s;
}
button.alert-ajax-close,
button.alert-ajax-close:hover{
    position: absolute;
    right: 0;
    top: 0;
    border: 0;
    outline: 0;
    padding: 5px;
    margin: 0;
    width: 30px;
    height: 30px;
    background: transparent;
    transform: rotateZ(0);
    transition: transform 0.3s;
}
button.alert-ajax-close:hover{
    transform: rotateZ(180deg);
    transition: transform 0.3s;
}
button.alert-ajax-close:hover path{
    fill: #565454;
}
.alert-ajax-content{
    padding: 30px;
}
.alert-ajax-ul{
    padding: 0;
    margin: 0;
    list-style: none;
}
.alert-ajax-ul li > span:first-child{
    display: block;
    margin-bottom: 6px;
    color: #000;
    font-weight: 500;
}

.alert-ajax.success{
    max-width: 100%;
    z-index: 100000;
    border-radius: 0;
    background: #030819b3 no-repeat center;
    background-size: 100%;
    height: 0;
    transition: height 0.2s;
}
.alert-ajax.success.show{
    height: 100vh;
    transition: height 0.2s;
}
.alert-ajax.success .alert-ajax-close{
    width: 50px;
    height: 50px;
}

.alert-ajax.success .alert-ajax-close svg{
    width: 30px;
    height: 30px;
    display: block;
    margin: 0 auto;
}

.alert-ajax.success .alert-ajax-close svg path{
    fill: #fff;
}

.alert-ajax.success .alert-ajax-ul li{
    color: #fff;
    font-size: 26px;
    font-style: italic;
    max-width: 70%;
    margin: 0 auto;
    text-align: center;
}
.alert-ajax.success .alert-ajax-ul li > span:first-child{
    font-size: 40px;
    color: #fff;
    text-align: center;
    font-style: normal;
    margin-bottom: 30px;
}

.alert-ajax.success .alert-ajax-link{
    display: flex;
    max-width: fit-content;
    margin: 30px auto 0 auto;
    color: #fff;
    background: linear-gradient(-45deg, #de5f0f, #f63b3b);
    border-radius: 4px;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}


/* Preload */
.record-camera-preload{
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #00003391;
    display: block;
    top: 0;
    left: 0;
    z-index: -1;
    visibility: hidden;
    opacity: 0;
    transition: visibility 100ms, opacity 200ms, z-index 100ms;
}
.record-camera-preload.show{
    visibility: visible;
    opacity: 1;
    z-index: 99999;
    transition: visibility 200ms, opacity 300ms, z-index 200ms;
}

.record-camera-preload .loading-text {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    width: 100%;
    height: 100px;
    line-height: 100px;
}
.record-camera-preload .loading-text > * {
    display: inline-block;
    margin: 0 5px;
    color: #ffffff;
    font-size: 30px;
    font-family: sans-serif;
}
.record-camera-preload .loading-text > *:nth-child(1){
    filter: blur(0px);
    animation: blur-text 1.5s 0s infinite linear alternate;
}
.record-camera-preload .loading-text > *:nth-child(2){
    filter: blur(0px);
    animation: blur-text 1.5s 0.2s infinite linear alternate;
}
.record-camera-preload .loading-text > *:nth-child(3){
    filter: blur(0px);
    animation: blur-text 1.5s 0.4s infinite linear alternate;
}
.record-camera-preload .loading-text > *:nth-child(4){
    filter: blur(0px);
    animation: blur-text 1.5s 0.6s infinite linear alternate;
}
.record-camera-preload .loading-text > *:nth-child(5){
    filter: blur(0px);
    animation: blur-text 1.5s 0.8s infinite linear alternate;
}
.record-camera-preload .loading-text > *:nth-child(6){
    filter: blur(0px);
    animation: blur-text 1.5s 1s infinite linear alternate;
}
.record-camera-preload .loading-text > *:nth-child(7){
    filter: blur(0px);
    animation: blur-text 1.5s 1.2s infinite linear alternate;
}

@keyframes blur-text {
    0% {filter: blur(0px);}
    100% {filter: blur(4px);}
}