@charset "utf-8";

@-webkit-keyframes visibleAnimation {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@-moz-keyframes visibleAnimation {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@-ms-keyframes visibleAnimation {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@-o-keyframes visibleAnimation {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@keyframes visibleAnimation {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}


@-webkit-keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@-moz-keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@-ms-keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@-o-keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

html,
body {
    height: 100%;
}

body {
    font-family: Helvetica, "Microsoft JhengHei", "微軟正黑體", Arial, sans-serif;
    background-image: url(img/mb_bg.png);
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
    background-repeat: no-repeat;
    -moz-animation: visibleAnimation 1s ease-in;
    -webkit-animation: visibleAnimation 1s ease-in;
    -ms-animation: visibleAnimation 1s ease-in;
    animation: visibleAnimation 1s ease-in;
}

#linkpanel{
    text-align: center;
}

.btn {
    margin: 0 auto;
    margin-top: 1.25rem;
    margin-left: .8rem;
    padding: 6px 16px;
    border-radius: 45px;
    outline: 0;
    font-size: 16px;
    font-weight: bold;
    border-radius: 45px;
}

.btn span{
	font-size: 18px;
}

.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary.active, .btn-primary:focus{
    color: #fff;
    background-color: #007bff;
    border-color: transparent;
    padding: 6px 0;
    width: 288.36px;
}

.btn-danger, .btn-danger:hover, .btn-danger:active, .btn-danger.active, .btn-danger:focus{
    color: #fff;
    background-color: #e11918;
    border-color: transparent;
    padding: 9px 0;
    width: 288.36px;
}

#superlink {
    position: fixed;
    z-index: 999;
    bottom: 0;
    display: block;
    width: 100%;
}

#superlink a {
    display: inline-block;
    height: 55px;
    width: 55px;
    margin-left: 16px;
}

.navbar-brand>img {
    display: block;
    height: 32px;
}

nav {
    z-index: 99;
}

iframe {
    background-color: #000;
}

.navbar-default {
    border-color: transparent !important;
    background-color: transparent !important;
}

#liveframe {
    margin: auto;
}

#liveplayer {
    margin-bottom: 16px;
}

#ttl {
    display: block;
    width: 100%;
}

#title1 {
    display: block;
    width: 260px;
    height: 214px;
    max-width: 100%;
    background-image: url(img/mb_title1.png);
    -webkit-background-size: 80%;
    -moz-background-size: 80%;
    -o-background-size: 80%;
    background-size: 80%;
    background-position: center center;
    background-repeat: no-repeat;
    margin: 0 auto;
    margin-bottom: 16px;
}

#title2 {
    display: block;
    width: 260px;
    height: 76px;
    max-width: 100%;
    background-image: url(img/mb_title2.png);
    -webkit-background-size: 80%;
    -moz-background-size: 80%;
    -o-background-size: 80%;
    background-size: 80%;
    background-position: center center;
    background-repeat: no-repeat;
    margin: 0 auto;
    margin-bottom: 16px;
}

#title3 {
    display: block;
    width: 260px;
    height: 73px;
    max-width: 100%;
    background-image: url(img/mb_title3.png);
    -webkit-background-size: 80%;
    -moz-background-size: 80%;
    -o-background-size: 80%;
    background-size: 80%;
    background-position: center center;
    background-repeat: no-repeat;
    margin: 0 auto;
}

#title2.replay {
    background-image: url(img/mb_title2x.png);
}

#title3.replay {
    background-image: url(img/mb_title3x.png);
}


/* ----------- iPhone 6----------- */

@media only screen and (min-device-width: 375px) {

    #liveframe {
        padding-top: 10%;
    }

    #title1 {
        -webkit-background-size: 100%;
        -moz-background-size: 100%;
        -o-background-size: 100%;
        background-size: 100%;
    }

    #title2 {
        -webkit-background-size: 100%;
        -moz-background-size: 100%;
        -o-background-size: 100%;
        background-size: 100%;
    }

    #title3 {
        -webkit-background-size: 100%;
        -moz-background-size: 100%;
        -o-background-size: 100%;
        background-size: 100%;
    }
}


/* ----------- iPhone 6 Plus----------- */

@media only screen and (min-device-width: 414px) {

    #liveframe {
        padding-top: 15%;
    }
}


@media (-webkit-min-device-pixel-ratio: 2) {
    body {
        background-image: url(img/mb_bg@2x.png);
    }

    #title1 {
        background-image: url(img/mb_title1@2x.png);
    }

    #title2 {
        background-image: url(img/mb_title2@2x.png);
    }

    #title3 {
        background-image: url(img/mb_title3@2x.png);
    }
    #title2.replay {
        background-image: url(img/mb_title2x@2x.png);
    }

    #title3.replay {
        background-image: url(img/mb_title3x@2x.png);
    }
}



/* ----------- iPad Portrait----------- */

@media only screen and (min-width: 767px) {
    body {
        background-image: url(img/mb_bg@2x.png);
    }

    #title1 {
        background-image: url(img/mb_title1@2x.png);
    }

    #title2 {
        background-image: url(img/mb_title2@2x.png);
    }

    #title3 {
        background-image: url(img/mb_title3@2x.png);
    }
    #title2.replay {
        background-image: url(img/mb_title2x@2x.png);
    }

    #title3.replay {
        background-image: url(img/mb_title3x@2x.png);
    }
}


/* ----------- Tablets & Labtops & PC----------- */

@media only screen and (min-width: 992px) {

    .btn {
        float: right;
    }


    body {
        background-image: url(img/tab_bg.png);
    }

    img {
        margin: 0 auto;
        margin-bottom: 1rem;
    }


    .btn img {
        margin-bottom: unset;
    }

    #liveframe {
        position: absolute;
        margin: auto;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 50%;
        height: 50%;
        padding: 0;
    }


    #liveframe {
        top: -25%;
    }

    #liveframe.preview {
        top: 25%;
    }

    #liveframe.replay {
        top: -15%;
    }

    .row.replay {
        margin-top: 5%;
    }

    #superlink {
        position: fixed;
        z-index: 999;
        right: 0;
        bottom: 50%;
        display: block;
        width: 55px;
        height: 200px;
    }

    #superlink a {
        display: inline-block;
        height: 55px;
        width: 55px;
        margin-bottom: 16px;
    }

    #superlink a img {
        margin-left: -16px;
    }


    #title1 {
        display: block;
        width: 649px;
        height: 61px;
        background-image: url(img/tab_title1.png);
        -webkit-background-size: contain;
        -moz-background-size: contain;
        -o-background-size: contain;
        background-size: contain;
        background-position: 0 0;
        background-repeat: no-repeat;
    }

    #title2 {
        display: block;
        width: 636px;
        height: 36px;
        background-image: url(img/tab_title2.png);
        -webkit-background-size: contain;
        -moz-background-size: contain;
        -o-background-size: contain;
        background-size: contain;
        background-position: 0 0;
        background-repeat: no-repeat;
    }

    #title3 {
        display: block;
        width: 636px;
        height: 36px;
        background-image: url(img/tab_title3.png);
        -webkit-background-size: contain;
        -moz-background-size: contain;
        -o-background-size: contain;
        background-size: contain;
        background-position: 0 0;
        background-repeat: no-repeat;
    }
    #title2.replay {
        background-image: url(img/tab_title2x.png);
        -webkit-background-size: contain;
        -moz-background-size: contain;
        -o-background-size: contain;
        background-size: contain;
        background-position: 0 0;
        background-repeat: no-repeat;
    }

    #title3.replay {
        background-image: url(img/tab_title3x.png);
        -webkit-background-size: contain;
        -moz-background-size: contain;
        -o-background-size: contain;
        background-size: contain;
        background-position: 0 0;
        background-repeat: no-repeat;
    }
}

@media only screen and (min-width: 1025px) {
    body {
        background-size: cover;
        background-image: url(img/pc_bg.png);
    }
}