@font-face {
    font-family: Regular; 
    src: url(txt.ttf); 
}

.modalDialog {
        position: fixed;
        font-family: Regular, fantasy;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(0,0,0,0.8);
        z-index: 99999;
        -webkit-transition: opacity 400ms ease-in;
        -moz-transition: opacity 400ms ease-in;
        transition: opacity 400ms ease-in;
        display: none;
        pointer-events: none;
    }
    
    .modalDialog:target {
            display: block;
            pointer-events: auto;
        }
         
        .modalDialog > div {
            width: 50%;
            position: relative;
            margin: 10% auto;
            padding: 10px 10px 10px 10px;
            border-radius: 5px;
            background: #fff;
            background: -moz-linear-gradient(#fff, #999);
            background: -webkit-linear-gradient(#fff, #999);
            background: -o-linear-gradient(#fff, #999);
        }

        .close {
                font-size: 15px;
                background: #606061;
                color: #FFFFFF;
                line-height: 25px;
                position: absolute;
                right: -12px;
                text-align: center;
                top: -10px;
                width: 24px;
                text-decoration: none;
                font-weight: bold;
                -webkit-border-radius: 12px;
                -moz-border-radius: 12px;
                border-radius: 12px;
                -moz-box-shadow: 1px 1px 3px #000;
                -webkit-box-shadow: 1px 1px 3px #000;
                box-shadow: 1px 1px 3px #000;
             }

             .next {
                color: #FFFFFF;
                line-height: 25px;
                text-align: center;
                text-decoration: none;
                font-weight: bold;
            }

            .bt_next_slots{
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
            }

            .bt_next_slots p{
                padding: 0px 5px 0px 5px;
                margin: 0;
                margin-bottom: 5px;
            }
                                   
            .close:hover { background: #663366;}
            .h2_text_size{
             font-size: 25px;
             }
            .video_size{
            height: 70%; 
            width: 70%;
            }


            @media (max-width: 600px) {
                .modalDialog{background: rgba(0,0,0,1);}
                .video_size{height: 90%; width: 90%;}
                .modalDialog > div{width: 100%; top: 50%; left: 50%; transform: translate(-50%, -50%);}
                .h2_text_size{ font-size: 25px;}
                .close{right: 45%; font-size: 20px;}
            }