﻿.modal-open {
    overflow: hidden;
}

   .modal-open .modal {
        overflow-x: hidden;
        overflow-y: auto;
    }

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10509;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    background-color:#fff;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    margin-top:0;
    pointer-events: none;
}

.modal.fade .modal-dialog {
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    -webkit-transform: translate(0, -50px);
    transform: translate(0, -50px);
}

@media (prefers-reduced-motion:reduce) {
    .modal.fade .modal-dialog {
        transition: none;
    }
}

.modal.show .modal-dialog {
    -webkit-transform: none;
    transform: none;
}

.modal-dialog-scrollable {
    display: -ms-flexbox;
    display: flex;
    max-height: calc(100% - 1rem);
}

    .modal-dialog-scrollable .modal-content {
        max-height: calc(100vh - 1rem);
        overflow: hidden;
    }

    .modal-dialog-scrollable .modal-header, .modal-dialog-scrollable .modal-footer {
        -ms-flex-negative: 0;
        flex-shrink: 0;
    }

    .modal-dialog-scrollable .modal-body {
        overflow-y: auto;
    }

.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    outline: 0;
    /*margin: auto;*/
}
.modal-dialog-centered {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - 1rem);
}

    .modal-dialog-centered::before {
        display: block;
        height: calc(100vh - 1rem);
        content: "";
    }

    .modal-dialog-centered.modal-dialog-scrollable {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-pack: center;
        justify-content: center;
        height: 100%;
    }

        .modal-dialog-centered.modal-dialog-scrollable .modal-content {
            max-height: none;
        }

        .modal-dialog-centered.modal-dialog-scrollable::before {
            content: none;
        }



    .modal-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1040;
        width: 100vw;
        height: 100vh;
        background-color: #000;
    }

        .modal-backdrop.fade {
            opacity: 0;
        }

        .modal-backdrop.show {
            opacity: 0.5;
        }

    .modal-header {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: start;
        align-items: flex-start;
        -ms-flex-pack: justify;
        justify-content: space-between;
        padding: 1rem 1rem;
        border-bottom: 1px solid #dee2e6;
        border-top-left-radius: 0.3rem;
        border-top-right-radius: 0.3rem;
    }

        .modal-header .close {
            padding: 1rem 1rem;
            margin: -1rem -1rem -1rem auto;
        }

    .modal-title {
        margin-bottom: 0;
        line-height: 1.5;
    }

    .modal-body {
        position: relative;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        padding: 1px;
        text-align:center;
    }

    .modal-footer {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: end;
        justify-content: flex-end;
        padding: 1rem;
        border-top: 1px solid #dee2e6;
        border-bottom-right-radius: 0.3rem;
        border-bottom-left-radius: 0.3rem;
    }

        .modal-footer > :not(:first-child) {
            margin-left: 0.25rem;
        }

        .modal-footer > :not(:last-child) {
            margin-right: 0.25rem;
        }

    .modal-scrollbar-measure {
        position: absolute;
        top: -9999px;
        width: 50px;
        height: 50px;
        overflow: scroll;
    }

    @media (min-width:576px) {
        .modal-dialog {
            max-width: 100%;
            margin: 1.75rem auto;
        }

        .modal-body img {
            max-width: 600px !important;
            max-height: 710px;
        }

        .modal-dialog-scrollable {
            max-height: calc(100% - 3.5rem);
        }

            .modal-dialog-scrollable .modal-content {
                max-height: calc(100vh - 3.5rem);
            }

        .modal-dialog-centered {
            min-height: calc(100% - 3.5rem);
        }

            .modal-dialog-centered::before {
                height: calc(100vh - 3.5rem);
            }

        .modal-sm {
            max-width: 300px;
        }
    }

    @media (min-width:992px) {
        .modal-lg, .modal-xl {
            max-width: 800px;
        }
    }

    @media (min-width:1200px) {
        .modal-xl {
            max-width: 1140px;
        }
    }





@media (max-width:991px) {
    .modal-body img {
        width: 100%;
        max-height: 710px;
        object-fit:contain;
    }
    .modal-body img {
        width: 92%;
    }

}



@media (max-width: 576px) {
    .modal-content {
        width: 90%;
        margin: auto;
        padding-top: 2.5rem;
        padding-bottom: 4rem;
    }
}





/*  Canlı Yayın Popup style start here */


.live-playerbox #liveVideoPlayer .vjs-control-bar .vjs-progress-control .vjs-progress-holder .vjs-play-progress {
    background-color: rgb(237,76,60)!important;
}



.scrollOverBg:after {
    content: '';
    position: fixed;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    z-index: -1;
    background: #baa98a;
}



.mylive-model {
    position: fixed;
    z-index: 99999;
    width: 100vw;
    height: 106vh;
    min-height: 106vh;
    overflow-y: auto;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    padding: 40px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    background: #baa98a;
}


.mylive-model.show {
    opacity: 1;
    pointer-events: initial;
}


.live-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.live-imgbox {
    width: 34%; 
}

.live-imgbox--content {
    width: 100%;
}

.live-playerbox {
    width: 63.82%;
    height: 450px;
    background: #333333;
    border: 6px solid #ffffff;
    margin-bottom: .5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

    .live-playerbox #liveVideoPlayer {
        width: 100%;
        height: 100%;
    }

.live-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.live-homebtn {
    border: 3px solid #00395A;
    margin-right: 2rem;
    border-radius: 24px;
    padding: .5rem 2rem;
    margin-bottom: 12px;
    font-weight: bold;
    color: #00395A;
}


/*.live-homebtn:hover {
    background: #ff6a00;
    color: #ffffff;
    border: 2px solid #ffffff;
}*/


.live-footer--logo {
    margin-top: 12px;
}

.live-footer--logo {
    display: flex;
    flex-direction: column;
}

.live-description {
    text-align: right;
}


    .live-description p {
        color: #1f3848;
        padding-top: 4px;
        font-weight: bold;
        font-size: 15px;
        margin-bottom: 8px;
        text-align: initial;
        text-align: right;
    }


.live-broadcast-text {
    background: red;
    padding: 6px 12px;
    font-weight: bold;
    color: #ffffff;
    display: inline-block;
    margin-left: auto;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 1.5rem;
}


.live-img {
    width: 100%;
    height: 240px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.live-footer--logo h6 {
    color: #00395a;
    font-weight: 400;
    margin-top: 8px;
    font-weight: 500;
}


.live-desc {
    display: flex;
    justify-content: space-between;
    color: #31434e;
}



@media (max-width: 991px) {
    .mylive-model {
        padding: 12px 0px;
    }


    .live-content {
      flex-direction: column;
      justify-content: center;
    }

    .live-imgbox {
        width: 300px;
        margin: 60px auto 76px auto;
    }


    .live-imgbox--content {
        max-height: 140px;
    }

    .live-playerbox {
        width: 400px;
        margin: 1.8rem auto 1rem auto;
    }

    .live-footer {
        flex-direction: column;
        justify-content: center;
    }

    .live-homebtn{
        margin-right: 0rem;
    }

    .live-description {
        text-align: center;
    }

    .live-description p {
        font-size: 12px;
        text-align: center;
    }



    .live-broadcast-text {
        font-size: 1.1rem;
    }


    .live-imgbox {
        width: 320px;
        margin: 50px auto 0px auto;
    }

    .live-img {
        height: 142px;
    }


    .live-imgbox--content {
        max-height: 140px;
    }


    .live-playerbox {
        width: 400px;
        height: 230px;
        border: 4px solid #ffffff;
        margin-left: auto;
        margin-right: auto;
    }

    .mylive-model {
        background-size: 190% 52%!important;
        background-position: bottom left !important;
    }



    .live-playerbox .video-js .vjs-big-play-button {
        font-size: 1.3rem!important;
        line-height: 2.4rem!important;
        height: 2.5rem!important;
        width: 4rem!important;
    }




}


@media (max-width: 600px) {

    .mylive-model {
        padding: 12px 0px 70px 0px;
    }


    .live-description {
        text-align: center;
    }

    .live-imgbox {
        width: 80%;
        margin: 60px auto 0px auto;
    }

    .live-img {
        height: 134px;
    }

    .live-imgbox--content {
        max-height: 140px;
    }


    .live-playerbox {
        width: 100%;
        height: 200px;
        border: 4px solid #ffffff;
        margin-left: auto;
        margin-right: auto;
    }


    .live-homebtn {
        padding: 0.3rem 2rem;
    }
    .live-broadcast-text {
        padding: 5px 12px;

    }
    .live-footer--logo img {
        width: 58px;
        margin: auto;
    }


}



@media (max-width: 320px) {

    .live-playerbox {
        height: 136px;
    }
    .live-img {
        height: 100px;
    }

}



@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .ie-center {
        position: inherit;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}




