﻿.popup-main {
    width: 321px;
    height: 167px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    margin-right: auto;
    padding: 0px;
    z-index: 55555;
    opacity: 1;
}

a.AlnaherAdclose {
    background-color: #ac1a1a;
    border-radius: 30px;
    padding: 0;
    font-size: 1.2em;
    position: absolute;
    top: -17px;
    font-family: "JF Flat Regular", sans-serif;
    left: -20px;
    color: #fff !important;
    width: 40px;
    height: 40px;
    font-weight: bold;
    display: block;
    text-decoration: none;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-around;
    justify-content: space-around;
    display: -webkit-inline-box;
    -webkit-box-pack: center;
    -webkit-box-align: center;
    text-align: center;
    z-index: 2;
}

a.AlnaherAdclose:before, a.AlnaherAdclose:after {
    content: '';
    width: 15px;
    height: 3px;
    background: #fff;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
}

a.AlnaherAdclose:before {
    transform: translate3d(-50%,-50%,0) rotate(45deg);
}

a.AlnaherAdclose:after {
    transform: translate3d(-50%,-50%,0) rotate(-45deg);
}

#AlnaherAdContainer {
    background-image: none;
    background: #000;
    border-radius: 9px;
    overflow: hidden;
}

#AlnaherAdContainer {
    background-image: none;
    background: #000;
    border-radius: 9px;
    overflow: hidden;
    height: 100%;
}



div#AlnaherAdContainer:before {
    content: '';
    display: inline-block;
    width: 116px;
    height: 167px;
    position: absolute;
    top: 30px;
    right: -33px;
    background: url(../images/ramadan2019/mara3y.png) no-repeat;
    z-index: 5;
}

div#AlnaherAdContainer.v2:before {
    content: '';
    display: inline-block;
    width: 116px;
    height: 167px;
    position: absolute;
    top: 30px;
    right: -33px;
    background: url(../images/ramadan2019/mara3y_rayeb.png) no-repeat !important;
    z-index: 5;
}

div#AlnaherAdContainer:after {
    content: '';
    display: inline-block;
    width: 44px;
    height: 43px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%,-50%,0);
    background: url(../images/ramadan2019/play.png) no-repeat;
    z-index: 5;
    pointer-events: none;
    margin-top: -10px;
}

        a.popup-cont {
            display: inline-block;
            width: 100%;
            height:100%;
        }

        .popup-cont img {
            float: right;
        }
.popup-cont .pop_img {
    width: 100%;
    height: auto;
    transform: translate3d(0%,-10%,0);
}

.l-cont {
    float: right;
    text-align: right;
    color: #fff;
    width: 100%;
    position: absolute;
    padding: 15px 65px 20px 0px;
    z-index: 2;
    bottom: 0px;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 );
}

.l-cont:after {
    content: '';
    display: inline-block;
    width: 45px;
    height: 36px;
    position: absolute;
    bottom: 13px;
    left: 9px;
    background: url(../images/ramadan2019/ramadan.png) no-repeat;
    z-index: 5;
}
.l-cont span {
    padding: 3px 7px 5px;
    color: #ffffff;
    background: #b71c1c;
    font-size: 11px;
    border-radius: 6px;
    font-weight: bold;
}

.l-cont .poptitle {
    font-size: 15px;
    display: inline-block;
    font-weight: bold;
}

.l-cont .popdetails {
    position: absolute;
    top: -101px;
    right: 12px;
}

.l-cont .popdetails p {
    display: inline-block;
    vertical-align: middle;
}

.l-cont p {
    margin: -7px 0 13px;
    font-size: .6em;
}
.l-cont p.channelName{
    margin-bottom: 6px;
    font-weight: bold;
}
.l-cont img {
    float: none;
    max-height: 23px;
}

#fullscreen_video_btn {
    display: inline-block;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    position: absolute;
    z-index: 3;
    cursor:pointer;
}

#fullscreen_video {
    display: none;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    position: fixed;
    background: url(../images/ramadan2019/mara3y_video_bg.jpg) #000 no-repeat top center;
    background-size: 100% 100%;
    z-index: 1000;
}

    #fullscreen_video.active{
        display:block;
    }

    #fullscreen_video > a {
        display: inline-block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0px;
        left: 0px;
    }

    #fullscreen_video > div {
        display: inline-block;
        width: 50%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate3d(-50%,-50%,0);
    }

    #fullscreen_video > div .box_fsv {
        position: relative;
        padding-bottom: 56.25%;
        padding-top: 30px;
        height: 0;
        background:rgba(0,0,0,0.5);
    }

    #fullscreen_video > div .box_fsv:before, #fullscreen_video > div .box_fsv:after {
        content: '';
        position: absolute;
        top: 0px;
        width:238px;
        height:629px;
    }
    #fullscreen_video > div .box_fsv:before {
        background: url(../images/ramadan2019/mara3y_video_left.png) no-repeat top center;
        left:-248px;
    }

    #fullscreen_video > div .box_fsv:after {
        background: url(../images/ramadan2019/mara3y_video_right.png) no-repeat top center;
        right: -248px;
    }

    #fullscreen_video > div .box_fsv iframe {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
    }

    #fullscreen_video .close_fsv {
        background-color: #ac1a1a;
        border-radius: 30px;
        padding: 0;
        position: absolute;
        top: -17px;
        right: -20px;
        width: 40px;
        height: 40px;
        display: block;
        text-align: center;
        z-index: 2;
        cursor:pointer;
    }

        #fullscreen_video .close_fsv:before, #fullscreen_video .close_fsv:after {
            content: '';
            width: 15px;
            height: 3px;
            background: #fff;
            display: inline-block;
            position: absolute;
            top: 50%;
            left: 50%;
        }

        #fullscreen_video .close_fsv:before {
            transform: translate3d(-50%,-50%,0) rotate(45deg);
        }

        #fullscreen_video .close_fsv:after {
            transform: translate3d(-50%,-50%,0) rotate(-45deg);
        }