/* in-page movie player */

body { /* override Bootstrap */
    padding-right: 0 !important;
    padding-left: 0 !important;
}
#page {max-width: none !important;}
#movie_container_window #movie {min-height: 640px;}
#movie_container {
    position: relative;
    width: 100%;
    margin-left: 0;
}
#movie_header {margin-bottom: 10px;}
#movie_wrapper {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
#movie {
    position: relative;
    margin-left: 0;
    padding: 0;
}
#movie.dim {opacity: 0.4;}
.kalturaPlayer {
    position: absolute;
    width: 100%;
    height: 100%;
}
#movie_container_window .kalturaPlayer {height: 640px !important;}
#player-logo {
    max-width: 115px;
    max-height: 50px;
    margin-top: 10px;
}
#fbBox #movie_container_window {
    width: 960px !important;
    position: relative;
    top: 0 !important;
    left: -18px !important;
    padding-top: 20px !important;
}
#movie_controls {
    position: relative;
    margin-left: 0;
    margin-bottom: 10px;
    padding: 0;
    z-index: 9;
    overflow: visible !important; /* Bootstrap 3 override */
}
#movie_header_btns {
    position: fixed;
    right: 25px;
    top: 8px;
}
#movie_container_window_copyright {
    position: absolute;
    bottom: 10px;
    width: 940px;  /* same as floatbox width */
    text-align: center;
    color: #336699;
    display: none; /* don't need it on full-page layout since it's in the footer anyway */
}
#fbBox #movie_container_window_copyright {
    display: block;
}
/* end in-page player */

/* hide sidebar if disabled */
#movie_container.no-sidebar #movie_controls {display: none;}

#fbContent movie_container {float: left;}
#movieplayer_message {
    font-size: 14px;
    padding-top: 100px;
    width: 100%;
    text-align: center;
    font-style: italic;
}
#movieplayer_message * {
    font-size: 14px;
}
#movieplayer_message p {
    text-align: center;
    line-height: 1.5;
    margin: 1em 0;
}
#movieplayer_message img {
    margin-bottom: 20px;
}
.movieplayer_external_link_message {
    text-align: center;
}
#flv,   /* div that flash movie plays in */
#qt {   /* div that quicktime movie plays in */
    margin: 0 auto;
    text-align: center;
}

/* Floatbox turns off focus outlines
 * but we need it for accessibility:
 */
#movie          *:focus,
#movie_controls *:focus {
    outline: invert dotted thin !important;
}
#movie_controls a {
    display: inline-block;
}
.movie-accessory {margin-bottom: 10px;}
.movie-accessory-open {cursor: pointer;}
.movie-accessory-close {
    float: right;
    cursor: pointer;
    font-size: 10px;
}
#movie_playlist,
#movie_share,
#movie_downloads,
#movie_ask_al {
    position: absolute;
    z-index: 50;
    width: 580px;
    left: 135px;
    background-color: white;
    padding: 10px;
    border: 1px solid #CCCCCC;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
}
#movie_playlist {
    top: 5px;
    height: 380px;
}
#movie_share, #movie_downloads, #movie_ask_al {top: 5px;}
#movie_playlist_sections {
    height: 280px;
    overflow: auto;
}
#movie_playlist h1 {
    margin: 0;
    margin-bottom: 5px;
    font-size: 18px;
}
#movie_playlist h2 { /* series title */
    margin: 5px 0;
    color: black;
    font-size: 20px;
    min-width: 200px;
}
h2.movie-title { /* player window title */
    text-align: center;
    font-size: 18px;
    margin: 15px 150px 10px 0;
}
#main_full h2.movie-title {margin: 0;}
#main_full #movie_container_window_spacer_copyright {text-align: center;}
#movie_playlist .section_heading {
    margin: 0 0 2px 0 !important;
    padding: 0 0 0 34px !important;
    height: 25px !important;
    white-space: nowrap !important;
}
#movie_playlist .section_heading a {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 23px !important;
    line-height: 23px !important;
}
#movie_playlist .expander_content {
    padding: 0 !important;
    margin: 0 !important;
}
#movie_playlist .expander_content table {
    border-collapse: collapse;
    margin: 0 15px 5px 15px !important;
    width: 98%;
}
#movie_playlist .current_movie_title {
    font-weight: bold;
}
#movie_playlist td.icon {
    width: 20px;
}
#movie_playlist td.icon img {
    vertical-align: top;
    width: 16px;
    height: auto;
}
i.icon-fav-star-on {
    background: url(../../icons/platform/star.png) 0 0 no-repeat;
    width: 18px;
    height: 18px;
    margin: 0 -6px;
}
.btn:hover i.icon-fav-star-on {
    background-image: url(../../icons/platform/star_delete.png);
}
i.icon-fav-star-off {
    background: url(../../icons/platform/star_off.png) 0 0 no-repeat;
    width: 18px;
    height: 18px;
    margin: 0 -6px;
}
.btn:hover i.icon-fav-star-off {
    background-image: url(../../icons/platform/star_off_over.png);
}
#movie_playlist td.playlink {
    width: 72px;
    white-space: nowrap;
    color: #666666;
    font-style: italic;
    text-align: center;
}
#movie_playlist td.playlink img {vertical-align: middle;}
#movieplayer_share_link {width: 520px;}
#movie_share form, #movie_share input {margin: 0;}
#movie_container .btn-help-icon {
    position: absolute;
    left: 110px;
    margin-top: 6px;
    z-index: 9;
}
#movie_container .play-sidebar-btn {
    padding: 4px 8px;
    margin: 5px 0;
    width: 125px;
    white-space: normal;
}
#movie_container.custom .play-sidebar-btn {width: 140px;}
#movie_container.custom .btn-group-justified {padding: 0;}
#movie_container .player-btn {color: #005c96;}
#movie_container .btn.play-sidebar-btn i.glyphicon.pull-left {
    margin-left: -5px;
    margin-right: -10px;
}
#movie_container .btn.play-sidebar-btn i.glyphicon.pull-left, #movie_prev_next i.glyphicon {
    color: #4a4a4a;
}
#movieplayer_icon_key {
    text-align: center;
    padding-top: 5px;
}
#movieplayer_icon_key > div {
    display: inline-block;
    margin-right: 10px;
}
#fbCaption {  /* Floatbox caption where copyright message appears */
    color: #336699;
    display: block;
    width: 100%;
    text-align: center;
}
.techcore #fbCaption {
    color: #A4C200;
}
.section_heading.expander_title {
    background-position: 0 0;
}

/*********************** RESPONSIVE *********************/
@media only screen and (min-width: 768px) {
    #movie_container ul.nav {padding: 0;}
    #movie_container ul.nav-list li > div:first-child {position: relative;}
    #mobile-menu-btn {display: none;}
    #movie_controls {
        display: block !important;
        width: 125px;
        margin-right: 15px;
    }
    #movie_container.custom #movie_controls {width: 140px;}
    #movie_prev_next {margin-top: 0;}
}

@media only screen and (max-width: 767px) {
    h2.movie-title {
        clear: both;
        margin: 15px 10px 10px;
    }
    #movie_container .btn.play-sidebar-btn {
        width: 100%;
        box-sizing: border-box;
        margin: 2px 0;
    }
    #movie_container .btn.play-sidebar-btn br {display: none;}
    #movie_container .btn-help-icon {
        left: auto;
        right: 6px;
    }
    #movie_controls {
        display: none;
    }
    #movie_controls ul.nav-list {
        padding: 0;
    }
    #movie_playlist, #movie_share, #movie_downloads, #movie_ask_al {
        position: static;
        width: auto;
        box-shadow: none;
    }
    #movie_controls .movie-accessory-close {display: none;}
    #movie_playlist {height: 320px;}
    #movie_playlist_sections {height: 240px;}
    #movie_playlist .expander_content table {width: 94%;}
    #movieplayer_share_link {width: 97.5%}
    .kalturaPlayer {
        left: 0;
        right: 0;
    }
}

/* legacy player (custom content) overrides */
#movie_container.custom #movie { /* max movie size is 800 x 614 */
    float: right;
    width: 805px;    /* 800 + 2(border) + 16(padding) */
    height: 662px;   /* 600 + 2(border) +  0(padding) + 20(controls) + 40(cc) */
    border: 1px solid #666666;
    background-color: #cccccc;
}

#movie_container.custom #flv, #movie_container.custom #qt {margin: 0 auto;}
#movie_container.custom #movie_controls {
    /* width: 110px;    /* 940 - 818 - 2 */
    min-height: 640px; /* lets the icon key drop down */
}
#movie_container.custom #movie_prev_button, #movie_container.custom #movie_next_button {
    width: 1%;
    display: table-cell;
    z-index: 3 /* ie8 */;
}
#movie_container.custom #movieplayer_icon_key {
    width: 100px;
    position: absolute;
    left: 0;
    bottom: 0;
    text-align: left;
}
#movie_container.custom #movie_share {top: 165px;}
#movie_container.custom .play-sidebar-btn {color: #005c96;}
