/* For Right Fit Quiz/Test */
.wl_popup{
    display: none;
}
.wl_popup_bg {
    position: fixed;
    top: 0;
    left:0;
    right:0;
    bottom:0;
    background: rgba(0,0,0,.8);
    text-align: center;
    z-index: 999999999;
    cursor: pointer;
}
.wl_popup_bg:before{
    content:'';
    display: inline-block;
    height: 100%;
    width: 0;
    vertical-align: middle;
}
.wl_popup_bg .wl_popup{
    display: inline-block;
    vertical-align: middle;
    max-width: 80%;
    max-height: 80%;
    background: #ffffff;
    padding: 20px 40px;
    cursor: default;
    position: relative;
    box-sizing: border-box;
}
#rightfittest{
    width: 1024px;
    max-width: 100%;
}
.wl_popup_bg .wl_popup>*{
    max-width: 100%;
    max-height: 100%;
}
.wl_popup_bg .wl_popup_iframe{
    width: 1270px;
    padding: 0;
    background: transparent;
}

.wl_popup_close{
    position: absolute;
    bottom: 101%;
    left: 101%;
    font-size: 50px;
    cursor: pointer;
    color: #fff;
    opacity: .3;
    transition: all .3s;
}
.wl_popup_close:hover{
    opacity: .99;
    color: #fff;
}

.wl_popup_video_button{
    display: inline-block;
    width: 96px;
    height: 96px;
    position: relative;
    border: solid 10px #fff;
    box-shadow: 0 0 2px rgba(0,0,0,.3), inset 0 0 2px rgba(0,0,0,.3);
    border-radius: 50%;
    cursor: pointer;
}

.wl_popup_video_button:after{
    content: '';
    display: block;
    border: solid transparent 24px;
    border-left: solid #fff 42px;
    position: absolute;
    top: 24px;
    left: 32px;
}

.wl_popup_video_button:hover{
    background: #fff;
}
.wl_popup_video_button:hover:after{
    border-left-color: #000;
}
#rightfittest iframe{
    max-width: 100%;
    border: none;
}
.wl_video{
    width: 100%;
    padding-top: 56.25%;
    position: relative;
}
.wl_video>*{
    position: absolute;
    top:0;
    left: 0;
    right: 0;
    bottom:0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
	#rightfittest{
        height: 100%;
        top: 0;
        position: absolute;
        right: 0;
        left: 0;
        bottom: 0;
        max-height: 100%;
    }

    .wl_popup_bg .wl_popup{
        overflow: auto;
        max-width: 100%;
        max-height: 100%;
    }

    .wl_popup_close{
        z-index: 9999999;
        top: 0;
        right: 0;
        left: auto;
        bottom: auto;
        color: #000;
    }

    #rightfittest .wl_video{
        padding: 0;
        height: 100%;
    }
}