/* Accessibility: hide screen reader texts (and prefer "top" for RTL languages).
Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-how/ */
.mejs__offscreen {
    clip: rect(1px, 1px, 1px, 1px); /* IE8-IE11 - no support for clip-path */
    clip-path: polygon(0px 0px, 0px 0px, 0px 0px, 0px 0px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.mejs__container {
    position: relative;
    background: #000;
    font-family: "Helvetica", Arial, serif;
    text-align: left;
    vertical-align: top;
    text-indent: 0;
    box-sizing: border-box;
}

.mejs__container * {
    box-sizing: border-box;
}

/* Hide native play button from iOS to favor plugin button */
.mejs__container video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}

.mejs__fill-container,
.mejs__fill-container .mejs__container {
    width: 100%;
    height: 100%;
}

.mejs__fill-container {
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    background: transparent;
}

.mejs__container:focus {
    outline: none;
}

.mejs__iframe-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
}

.mejs__embed,
.mejs__embed body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: #000;
    overflow: hidden;
}

.mejs__fullscreen {
    overflow: hidden !important;
}

.mejs__container-fullscreen {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1000;
}

.mejs__container-fullscreen .mejs__mediaelement,
.mejs__container-fullscreen video {
    width: 100% !important;
    height: 100% !important;
}

.mejs__clear {
    clear: both;
}

/* Start: LAYERS */
.mejs__background {
    position: absolute;
    top: 0;
    left: 0;
}

.mejs__mediaelement {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.mejs__poster {
    position: absolute;
    top: 0;
    left: 0;
    background-size: contain;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    z-index: 1;
}

:root .mejs__poster-img {
    display: none;
}

.mejs__poster-img {
    border: 0;
    padding: 0;
}

.mejs__overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.mejs__layer {
    z-index: 1;
}

.mejs__overlay-play {
    cursor: pointer;
}

.mejs__overlay-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    margin: -40px 0 0 -40px;

    background-position: 0 -39px;
    overflow: hidden;
    z-index: 1;
}

.mejs__overlay:hover > .mejs__overlay-button {
    background-position: -80px -39px;
}

.mejs__overlay-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    margin: -40px 0 0 -40px;
}

.mejs__overlay-loading-bg-img {
    display: block;
    width: 80px;
    height: 80px;
    background: transparent url("mejs-controls.svg") -160px -40px no-repeat;
    -webkit-animation: mejs-loading-spinner 1s linear infinite;
    -moz-animation: mejs-loading-spinner 1s linear infinite;
    animation: mejs-loading-spinner 1s linear infinite;
    z-index: 1;
}

@-moz-keyframes mejs-loading-spinner {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes mejs-loading-spinner {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes mejs-loading-spinner {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* End: LAYERS */

/* Start: CONTROL BAR */
.mejs__controls {
    position: absolute;
    list-style-type: none;
    margin: 0;
    padding: 0 10px;
    bottom: 0;
    left: 0;
    height: 40px;
    width: 100%;
    z-index: 1;
}

.mejs__controls:not([style*="display: none"]) {
    background: rgba(255, 0, 0, 0.7);
    background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.35));
}

.mejs__button,
.mejs__time,
.mejs__time-rail {
    float: left;
    margin: 0;
    width: 32px;
    height: 40px;
    font-size: 10px;
    line-height: 10px;
}

.mejs__button > button {
    cursor: pointer;
    display: block;
    font-size: 0;
    line-height: 0;
    text-decoration: none;
    margin: 10px 6px;
    padding: 0;
    position: absolute;
    height: 20px;
    width: 20px;
    border: 0;
    background: transparent url("mejs-controls.svg");
    overflow: hidden;
}

/* :focus for accessibility */
.mejs__button > button:focus {
    outline: dotted 1px #999;
}

.mejs__container-keyboard-inactive a,
.mejs__container-keyboard-inactive a:focus,
.mejs__container-keyboard-inactive button,
.mejs__container-keyboard-inactive button:focus,
.mejs__container-keyboard-inactive [role=slider],
.mejs__container-keyboard-inactive [role=slider]:focus {
    outline: 0;

}

/* End: CONTROL BAR */

/* Start: Time (Current / Duration) */
.mejs__time {
    color: #fff;
    display: block;
    height: 24px;
    width: auto;
    font-weight: bold;
    font-size: 11px;
    padding: 16px 6px 0 6px;
    overflow: hidden;
    text-align: center;
    box-sizing: content-box;
}

/* End: Time (Current / Duration) */

/* Start: Play/Pause/Stop */
.mejs__play > button {
    background-position: 0 0;
}

.mejs__pause > button {
    background-position: -20px 0;
}

.mejs__replay > button {
    background-position: -280px 0;
}

/* End: Play/Pause/Stop */

/* Start: Progress Bar */
.mejs__time-rail {
    direction: ltr;
    width: 200px;
    padding-top: 10px;
    height: 40px;
    position: absolute;
    margin: -30px 0px 0px 10px;
}

.mejs__time-total,
.mejs__time-buffering,
.mejs__time-loaded,
.mejs__time-seek,
.mejs__time-current,
.mejs__time-handle,
.mejs__time-float,
.mejs__time-float-current,
.mejs__time-float-corner,
.mejs__time-marker {
    cursor: pointer;
    display: block;
    position: absolute;
    height: 2.5px;
    border-radius: 2px;
}


.floatback{
    background-size:1600px 900px ;
    background-image:url("../story_board1/M0.jpg");
    background-color:#333333;
    background-repeat: no-repeat;
    background-position: -160px 0px;
    width:160px;height:90px; ' 
}



.mejs__time-total {
    margin: 5px 0 0 0;
    /*background: rgba(255, 255, 255, 0.3);*/
    height: 20px;
    padding-top:10px;
    width: 100%;
}

.mejs__time-buffering {
    width: 100%;
    background: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 15px 15px;
    animation: buffering-stripes 2s linear infinite;
}

@keyframes buffering-stripes {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 30px 0;
    }
}

.mejs__time-rail:hover{

    .mejs__time-handle {
        display: block;

    }

}

.mejs__time-seek {
    background: rgba(255, 255, 255, .3);
    width: 100%;
}

.mejs__time-loaded {
    background: rgba(255, 255, 255, .3);
    width: 0;
}

.mejs__time-current {
    background: rgb(243, 127, 10);
    width: 0;
}

.mejs__time-handle {
    display: none;
    position: absolute;
    margin: 0;
    width: 13px;
    height: 13px;
    background: #f37f0a;
    border-radius: 13px;
    cursor: pointer;
    border: solid 2px #f37f0a;
    top: 6px;
    text-align: center;
}

.mejs__time-float {
    position: absolute;
    display: none;
    background: #000;
    width: 166px;
    height: 96px;
    padding-left: 3px
    padding-top:3px;
    border: solid 1px #000;
    top: -100px;
    margin-left: -80px;
    /*text-align: center;*/
    color: #111;
}

.mejs__time-float-current {
    margin: 0px;
    width: 160px;
    display: block;
    color: white;
    /*text-align: center;*/
    left: 0;
    margin-left: 2px;
    margin-top:2px;
    cursor: pointer;
    display: block;
    position: absolute;
    height: 90px;
    border-radius: 2px;
}

.mejs__time-float-corner {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    line-height: 0;
    border: solid 5px #eee;
    border-color: #eee transparent transparent transparent;
    border-radius: 0;
    top: 15px;
    left: 13px;
}

.mejs__long-video .mejs__time-float {
    width: 64px;
    margin-left:-23px;
}

.mejs__long-video .mejs__time-float-current {
    width: 60px;
}

.mejs__long-video .mejs__time-float-corner {
    left: 18px;
}

.mejs__broadcast {
    color: #fff;
    position: absolute;
    width: 100%;
    height: 10px;
    top: 15px;
}

/* End: Progress Bar */
.mejs__fullscreen-button {
    float: right;
}

/* Start: Fullscreen */
.mejs__fullscreen-button > button {
    
    background-position: -80px 0;
}

.mejs__unfullscreen > button {
    background-position: -100px 0;
}

/* End: Fullscreen */

/* Start: Mute/Volume */
.mejs__mute > button {
    background-position: -60px 0;
}

.mejs__unmute > button {
    background-position: -40px 0;
}

.mejs__volume-button {
    position: relative;
}

.mejs__volume-button > .mejs__volume-slider {
    display: none;
    height: 115px;
    width: 25px;
    background: rgba(50, 50, 50, 0.7);
    border-radius: 0;
    top: -105px;
    left: 5px;
    z-index: 1;
    position: absolute;
    margin: 0;
}

.mejs__volume-button:hover {
    border-radius: 0 0 4px 4px;
}

.mejs__volume-total {
    position: absolute;
    left: 11px;
    top: 8px;
    width: 2px;
    height: 100px;
    background: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.mejs__volume-current {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.mejs__volume-handle {
    position: absolute;
    left: 0;
    bottom: 100%;
    width: 16px;
    height: 6px;
    margin: 0 0 -3px -7px;
    background: rgba(255, 255, 255, 0.9);
    cursor: ns-resize;
    border-radius: 1px;
}

.mejs__horizontal-volume-slider {
    height: 36px;
    width: 56px;
    position: relative;
    display: block;
    float: left;
    vertical-align: middle;
}

.mejs__horizontal-volume-total {
    position: absolute;
    left: 0;
    top: 16px;
    width: 50px;
    height: 8px;
    margin: 0;
    padding: 0;
    font-size: 1px;
    border-radius: 2px;
    background: rgba(50, 50, 50, 0.8);
}

.mejs__horizontal-volume-current {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 1px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.8);
}

.mejs__horizontal-volume-handle {
    display: none;
}

/* End: Mute/Volume */

/* Start: Track (Captions and Chapters) */
.mejs__captions-button, .mejs__chapters-button {
    display:none;
    position: relative;
}

.mejs__captions-button > button {
    background-position: -140px 0;
}

.mejs__chapters-button  {
    float: right;
}

.mejs__chapters-button > button {
    background-position: -302px 0;
}

.mejs__captions-button > .mejs__captions-selector, .mejs__chapters-button > .mejs__chapters-selector {
    visibility: hidden;
    position: absolute;
    bottom: 40px;
    right: -51px;
    width: 85px;
    background: rgba(50, 50, 50, 0.7);
    border: solid 1px transparent;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
}

.mejs__chapters-button > .mejs__chapters-selector {
    width: 110px;
}

.mejs__captions-button > .mejs__captions-selector, .mejs__chapters-button > .mejs__chapters-selector {
    visibility: visible;
}

.mejs__captions-selector-list, .mejs__chapters-selector-list {
    margin: 0;
    padding: 0;
    display: block;
    list-style-type: none !important;
    overflow: hidden;
}

.mejs__captions-selector-list-item, .mejs__chapters-selector-list-item {
    margin: 0 0 6px 0;
    padding: 0 10px;
    list-style-type: none !important;
    display: block;
    color: #fff;
    overflow: hidden;
    cursor: pointer;
}

.mejs__captions-selector-list-item:hover, .mejs__chapters-selector-list-item:hover {
    background-color: rgb(200, 200, 200) !important;
    background-color: rgba(255, 255, 255, 0.4) !important;
}

.mejs__captions-selector-input, .mejs__chapters-selector-input {
    clear: both;
    float: left;
    margin: 3px 3px 0 5px;
    position: absolute;
    left: -1000px;
}

.mejs__captions-selector-label, .mejs__chapters-selector-label {
    width: 55px;
    float: left;
    padding: 4px 0 0 0;
    line-height: 15px;
    font-size: 10px;
    cursor: pointer;
}

.mejs__captions-selected, .mejs__chapters-selected {
    color: rgba(33, 248, 248, 1);
}

.mejs__captions-translations {
    font-size: 10px;
    margin: 0 0 5px 0;
}

.mejs__captions-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
    line-height: 22px;
    font-size: 16px;
    color: #fff;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.mejs__captions-layer a {
    color: #fff;
    text-decoration: underline;
}

.mejs__captions-layer[lang=ar] {
    font-size: 20px;
    font-weight: normal;
}

.mejs__captions-position {
    position: absolute;
    width: 100%;
    bottom: 15px;
    left: 0;
}

.mejs__captions-position-hover {
    bottom: 50px;
}

.mejs__captions-text, .mejs__captions-text * {
    padding: 0;
    /*background: rgba(20, 20, 20, 0.5);*/
    white-space: pre-wrap;
    /*box-shadow: 5px 0 0 rgba(20, 20, 20, 0.5), -5px 0 0 rgba(20, 20, 20, 0.5);*/
}

.mejs__logo_player{

    display: block;
    font-size: 0;
    line-height: 0;
    text-decoration: none;
    margin: 10px 44%;
    padding: 0;
    position: absolute;
    height: 25px;
    width: 80px;
    border: 0;
    background: transparent url("logoplay.png");
    background-size:80px;
    overflow: hidden;

}






.mejs__setting-button > button {
    
    background-position: -200px 0;
}


.mejs__setting-button {
    float: right;
    margin-right:30px;
}

.mejs__setting-config {
    float: right;
    margin-left:-90px;
    display: none;
    position:absolute;
    margin-top: -145px;

  
    background: rgba(26, 26, 27, 0.67);
    width: 207px;
    height: 135px;
    padding-left: 3px
    padding-top:3px;
    border: solid 1px #000;

    /*text-align: center;*/
    color: #111;
}



.slideOne {
  width: 25px;
  height: 10px;
  background: #000;
  margin: 10px auto;
  position: relative;
  border-radius: 50px;
  box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2);
}


.slideOne  .span_orange{
  width: 15px;
  height: 10px;
  background: #ff6a00;
  margin: 0 auto;
  position: absolute;
  border-radius: 50px;
  box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2);

}




.slideOne label {
  display: block;
  width: 18px;
  height: 18px;
  position: absolute;
  top: -4px;
  left: -3px;
  cursor: pointer;
  background: #ff6a00;

  border-radius: 50px;
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}




.slideOne input[type=checkbox] {
  visibility: hidden;
  

}




.slideOne input[type=checkbox]:checked + label {
  left: 11px;
    background:white;
}


.ytp-menuitem-label, .ytp-menuitem-content,.ytp-menuitem-content2{
    display: table-cell;
    vertical-align: middle;
    padding: 0 15px;
    color: white;
}

.ytp-menuitem-label{
    font-size: 118%;
    font-weight: 500;
    color: white;
}

.ytp-menuitem-content {

    background-repeat: no-repeat;
    background-position: right 9px center;
    background-size: 32px 32px;
    -moz-background-size: 32px 32px;
    -webkit-background-size: 32px 32px;
    padding-right: 38px;
    background-image: url(right.svg);
}

.ytp-menuitem-content2 {

    background-repeat: no-repeat;
    background-position: right 9px center;
    background-size: 32px 32px;
    -moz-background-size: 32px 32px;
    -webkit-background-size: 32px 32px;
    padding-right: 38px;

 
}


.ytp-menuitem-content .ytp-menuitem-content2{
    font-size: 109%;
    text-align: right;
    color: white;
}



.ytp-menuitem {
    display: table-row;
    cursor: default;
    outline: none;
    height: 33px;
}

.ytp-menuitem:hover {
    background: #333;
}

.ytp-menuitem:not([aria-disabled=true]) {
    cursor: pointer;
}


.ytp-menuitem sup {
    line-height: 0;
    font-size: .8em;
    font-weight: 500;
}


.ytp-swatch-color {
    color: #f12b24;
}
sup {
    font-size: 80%;
}

sup {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}
sup {
    vertical-align: super;
    font-size: smaller;
}

.ytp-menu-label-secondary {
    font-size: 91%;
    color: #ccc;
}


.ytp-settings-button.ytp-hd-quality-badge:after, .ytp-settings-button.ytp-4k-quality-badge:after, .ytp-settings-button.ytp-5k-quality-badge:after, .ytp-settings-button.ytp-8k-quality-badge:after {
    content: '';
    position: absolute;
    top: 10px;
    right: 5px;
    height: 9px;
    width: 13px;
    background-color: #f12b24;
    border-radius: 1px;
    line-height: normal;
}


.ytp-quality-menu .ytp-panel-menu {
    margin-right: 10px;
}

.ytp-panel-menu {
    padding: 6px 0;
    display: table;
    width: 100%;
    color: #eee;
    box-sizing: border-box;
}


.ytp-quality-menu .ytp-menuitem {
    white-space: nowrap;
}

.ytp-menuitem:not([aria-disabled=true]) {
    cursor: pointer;
}

.ytp-menuitem {
    display: table-row;
    cursor: default;
    outline: none;
    height: 33px;
}


.ytp-panel-header {
    border-bottom: 1px solid rgba(255,255,255,0.2);
    line-height: inherit;
    font-size: 109%;
    color: #eee;
    padding: 6px 0;
    height: 33px;
    white-space: nowrap;
}

.ytp-button:not([aria-disabled=true]):not([disabled]):not([aria-hidden=true]) {
    cursor: pointer;
}

.ytp-panel-title {
    font-weight: 500;
    padding: 0 10px 0 35px;
    height: 100%;
    background-repeat: no-repeat;
    background-position: left 3px center;
    background-size: 32px 32px;
    -moz-background-size: 32px 32px;
    -webkit-background-size: 32px 32px;
    background-image: url(left.svg);
}
.ytp-panel-title, .ytp-panel-options {
    line-height: inherit;
}
.ytp-button:focus, .ytp-button {
    outline: 0;
}
.ytp-button {
    border: none;
    background-color: transparent;

    color: inherit;
    text-align: inherit;
    font-size: 100%;
    font-family: inherit;
    cursor: default;
    line-height: inherit;
}

.ytp-menuitem[role=menuitemradio][aria-checked=true] .ytp-menuitem-label {
    background-image: url(check.svg);
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 18px 18px;
    -moz-background-size: 18px 18px;
    -webkit-background-size: 18px 18px;
}

.ytp-menuitem[role=menuitemradio] .ytp-menuitem-label {
    padding-left: 35px;
    padding-right: 20px;
    border-bottom: none;
}
.ytp-quality-menu .ytp-menuitem-label {
    text-align: right;
}
.ytp-menuitem-label {
    font-size: 118%;
    font-weight: 500;
}