html {
    overflow-x: scroll !important;
    width: 1590px;
}

/* big enchilada wrapper */
div.content-alignment {
    margin-top: 0px;
    margin-left: 78px;
    margin-right: 100px;
}

/* 1. this is the top edge top of the main page */
div.watch.clearfix.watch-non-stage-mode {
    margin-top: -4px;
}

/* 2. this is the top edge top of the main page */
#masthead-positioner-height-offset {
    margin-top: -8px;
}

/* 3. this is the top edge top of the main page */
div.watch.watch-non-stage-mode.clearfix {
    margin-top: 0px;
}

/* clearfix page level [right side of masthead travels left */
/* title section right margin moving to line up with the player */
div.clearfix {
    margin-right: 0px;
}

/* this is like a rect which extends out from the player over the playlist */
#placeholder-player {
    margin-right: 426px;
}

/* straightens out the gutter between player and side bar also aligns top of sidebar with player */
div.watch-sidebar-gutter.yt-card.yt-card-has-padding.yt-uix-expander.yt-uix-expander-collapsed {
    margin-left: 4px;
    margin-top: 2px;
}

/* to get the player to position: fixed; | start */
#player-mole-container {
    position: fixed;
    left: 78px;
    margin-top: 10px;
    background: #f1f1f1;
}
.player-api.player-width.player-height {
    background: #f1f1f1;
}
#player {
    z-index: 3 !important;
    background: #f1f1f1;
}
.watch-sidebar-section {
    z-index: 2 !important;
}
div#theater-background.player-height {
    width: 100px;
    background: red;
}
div#player-mole-container {
    width: 854px;
    background: #f1f1f1;
}
#player-api {
    position: fixed;
    z-index: 3;
    background: #f1f1f1;
}
.watch-stage-mode {
    margin-top: 10px;
}
#placeholder-player {
    background: #f1f1f1;
}
/* to get the player to position: fixed; | end */

/* dashed borders | start */
div.watch-sidebar-section hr.watch-sidebar-separation-line {
    border-style: dashed !important;
    border-color: #000000 !important;
}
          /*div#player-api {
              border: 1px dashed #000 !important;
          }
          */
div.clearfix.yt-base-gutter {
    border-style: dashed !important;
    border-color: #000000 !important;
}
button.yt-uix-button.yt-uix-button-size-default.yt-uix-button-expander {
    border-style: dashed !important;
    border-top-width: 1px !important;
    border-bottom-width: 0px !important;
    border-left-width: 0px !important;
    border-right-width: 0px !important;
    border-color: #000000 !important;
}
div.watch-action-buttons.clearfix {
    border-style: dashed !important;
    border-top-width: 1px !important;
    border-bottom-width: 0px !important;
    border-left-width: 0px !important;
    border-right-width: 0px !important;
    border-color: #000000 !important;
}
/* dashed borders | end */

        /* resize player - deprecated? */
        .player-width .player-height {
            resize: both;
            padding-right: 10px;
            background: none;
        }

/* invisible layer - invisible overlay to the video player */
#theater-background {
    display: none ! important;
}

/* removes the annoying black background that appears behind the player */
.watch-stage-mode #theater-background {
    background-color: transparent;
}

/* mystery rectangle */
#watch-video-container {
    background-image: none !important;
    background-color: transparent !important;
}

/* logo | start */
#logo-container .logo,
#logo-container #logo {
    background: url(http://electricitymachine.com/upin/48x48.png) 0 -10px no-repeat !important;
}
#footer-logo span,
#footer-logo img {
    position: relative !important;
    display: block !important;
    background: url(http://electricitymachine.com/upin/32x32.png) no-repeat !important;
    padding-left: 73px !important;
    padding-top: 35px !important;
    width: 0px !important;
    height: 0px !important;
    top: 15px !important;
}
/* logo | end */

          /* 86 advertisements | start */
          /*
          #instream_google_companion_ad_div {
              display: none;
              visibility: hidden;
          }
          div#watch-sidebar {
              margin-top: -449px !important;
          }
          div#ad_creative_1,
          div#ad_creative_2,
          div#ad_creative_3 {
              display: none !important;
              visibility: hidden !important;
          }
          div#watch-channel-brand-div {
              display: none !important;
              visibility: hidden !important;
          }
          #watch-longform-ad {
              display: none !important;
              visibility: hidden !important;
          }
          */
          /* 86 advertisements | end */

/* makes left align somewhat more real | start */
.site-center-aligned #player {
    margin-left: 152px;
    margin-right: none;
}
.site-center-aligned #content.yt-card {
    margin-left: 50px;
    margin-right: none;
}
/* makes left align somewhat more real | end */

/* arial | start */
#page-container {
    font-family: arial, sans-serif !important;
}
.yt-uix-button .yt-uix-tooltip,
body.exp-roboto .exp-roboto button .exp-roboto input input button textarea .exp-roboto textarea .exp-roboto select {
    font-family: arial, sans-serif !important
}
/* arial | end */

/* in order to get the sidebar underneath the title section | start */
.watch-stage-mode #content .content-alignment {
    width: 1066px !important;
    min-width: 1066px !important;
    max-width: 1066px !important;
}
.watch-stage-mode #watch7-container {
    width: 1066px !important;
    min-width: 1066px !important;
    max-width: 1066px !important;
}
.watch-stage-mode #watch7-sidebar {
    margin-left: 650px !important;
}
.watch-stage-mode #watch7-content {
    width: 640px !important;
}
.watch-stage-mode #player-playlist {
    width: 1066px !important;
}
.watch-stage-mode #watch-appbar-playlist {
    position: absolute !important;
    width: 416px !important;
    height: 420px !important;
    left: 650px !important;
    top: 240px !important;
}
/* in order to get the sidebar underneath the title section | end */

/* to 86 comments during theater mode */
.watch-stage-mode #watch-discussion {
    display: none !important;
}

/* title smaller */
span.watch-title {
    font-size: 18px;
    font-weight: bold;
}

/* make masthead slimmer | start */
#yt-masthead-container {
    height: 30px !important;
}
div.yt-masthead-logo-container {
    margin-top: -2px;
}
#yt-masthead-content {
    margin-top: -2px;
}
div.yt-uix-clickcard {
    margin-top: -2px;
}
/* make masthead slimmer | end */

/* title section during default mode */
div.yt-card.yt-card-has-padding {
    width: 854px;
}

/* title section during theater mode */
div.yt-card.yt-card-has-padding .watch-stage-mode {
    width: 854px;
}

/* sidebar default mode */
div.watch-sidebar-gutter.yt-card.yt-card-has-padding.yt-uix-expander.yt-uix-expander-collapsed {
    width: 415px;
}

/* the sidebar below the title section in theater mode */
.watch-stage-mode div.watch-sidebar-gutter.yt-card.yt-card-has-padding.yt-uix-expander {
    width: 854px;
}

/* change to display: none !important; to 86 sidebar during theater mode */
.watch-stage-mode #watch7-sidebar {
    display: inline !important;
}

/* removes a black stripe from left to right */
div.alerts-wrapper {
    display: none;
}

/* 86 search | start */
/* #yt-masthead-container {display: none; }*/
/* 86 search | end */

div#player.off-screen {
    display: none;
}