/* CSS Document */

body,
html {
    /* height: 100%; */
    margin: 0;
}

.stories_row {
    width: 100%;
    margin-bottom: 5%;
}

body {
    width: 100%;
    height: 100%;
    /* position: absolute; */
    background: url("https://edbapl.s3.ap-east-1.amazonaws.com/background/apl_bg_0301.jpg");
    /* min-height: 100%;
    background-repeat: no-repeat;
    background-size: cover; */
    /* height: 100%; */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
}

.title {
    font-size: 32px;
    line-height: 30px;
    color: #003399;
}

.chitxt {
    text-align: justify;
    font-size: 15px;
    color: #417cb9;
    font-family: 'MHeiHK-Bold';
}

.engtxt {
    text-align: justify;
    font-size: 15px;
    color: #417cb9;
    /* font-family: 'Agenda-Semibold-Bold'; */
    font-family: 'MHeiHK-Bold';
}

.centerbox {
    background: url("https://edbapl.s3.ap-east-1.amazonaws.com/background/scholarshipboxbg.png");
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    /* width: 60%; */
    margin: 5% auto;
    /* margin-left: 28%; */
    /* margin-top: 20px; */
    border-radius: 30px;
    padding: 50px;
    max-width: 750px;
}


/* VIDEO MODAL */

#video {
    padding: 0!important;
}

.videoCloseBtn {
    position: fixed;
    right: 1.5%;
    top: 10px;
    background-color: rgb(214, 214, 214)!important;
    padding: 8px 15px!important;
    line-height: 1;
    border-radius: 8px!important;
}

.modal-video-content {
    background-color: transparent;
    border: 0;
}

.modal-dialog {
    max-width: 70%;
}

.youtube_video {
    width: 100%!important;
    background-color: #000;
    position: relative;
    padding-bottom: 56.25%!important;
    height: 0;
}

.youtube_video iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.set_video {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.CloseBtn {
    position: fixed;
    right: 32.5%;
    top: 215px;
    background-color: #ffffff!important;
    padding: 8px 15px!important;
    line-height: 1;
    border-radius: 8px!important;
    opacity: 1 !important;
}

.PosterCloseBtn {
    position: fixed;
    right: 31.5%;
    top: 200px;
    background-color: #ffffff!important;
    padding: 8px 15px!important;
    line-height: 1;
    border-radius: 8px!important;
    opacity: 1 !important;
}

.lanbtnchi {
    color: #ffffff;
    background-color: #808080;
    opacity: 0.5;
    border: 0px;
    width: auto;
    font-family: 'MHeiHK-Bold';
    border-radius: 3px;
}

.lanbtneng {
    color: #ffffff;
    background-color: #808080;
    opacity: 0.5;
    border: 0px;
    width: auto;
    font-family: 'Agenda-Semibold-Bold';
    border-radius: 3px;
}

.btntitlechi {
    line-height: 15px;
    color: #417cb9;
    font-family: 'MHeiHK-Bold';
}

.btntitleeng {
    line-height: 15px;
    color: #417cb9;
    font-family: 'Agenda-Semibold-Bold';
}

.btnmax {
    line-height: 15px;
    color: #417cb9;
    line-height: 17px;
    font-family: 'Agenda-Semibold-Bold', "MHeiHK-Bold";
}

.aplvideo-content {
    border-radius: 40px !important;
    background-color: #f2f2f2;
    padding-left: 40px;
    padding-right: 50px;
    padding-top: 30px;
    padding-bottom: 10px;
}

@media (min-width: 576px) {
    .aplvideo-modal {
        max-width: 350px !important;
        margin: 1.75rem auto;
    }
    .poster-modal {
        max-width: 390px !important;
        margin: 1.75rem auto;
    }
    .stories-modal {
        max-width: 600px !important;
        margin: 1.75rem auto;
    }
}

@media screen and (max-width: 980px) {
    .body {
        background-color: rgba(255, 255, 255, 0.4);
        min-height: 100vh;
    }
    .centerbox {
        background: url('');
        margin: auto;
        /* background-color: rgba(255, 255, 255, 0.3); */
        /* background-blend-mode: multiply; */
    }
    .chitxt {
        line-height: 1.2;
    }
    .engtxt {
        line-height: 1.2;
    }
    .modal-dialog {
        margin: auto;
    }
    .CloseBtn {
        display: none;
    }
    .PosterCloseBtn {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    #stories .col-md-1 {
        max-width: 5%;
        margin-right: 2%;
    }
    #stories .stories-modal {
        padding-left: 5px;
        padding-right: 5px;
    }
    #stories .aplvideo-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    #stories .row {
        margin-right: 0px;
        margin-left: 0px;
    }
    #stories .col-md-10 {
        max-width: 80%;
    }
    .lanbtnchi {
        padding: 6px;
    }
    .lanbtneng {
        padding: 6px;
    }
    .CloseBtn {
        display: none;
    }
    .PosterCloseBtn {
        display: none;
    }
}

@media (min-width: 320px) and (max-width: 480px) {
    .col-md-1 {
        max-width: 50%;
        text-align: center;
        padding-bottom: 25px;
    }
    .col-md-2 {
        max-width: 50%;
        text-align: center;
        padding-bottom: 25px;
    }
    .col {
        flex-basis: unset;
        max-width: 50%;
        margin-bottom: 20px;
    }
    .CloseBtn {
        display: none;
    }
    .PosterCloseBtn {
        display: none;
    }
}