.section-videoguides {

  .video-js {

      .vjs-title-bar {
        background: none;
        padding: 0;
        top: 10px;
        left: 15px;
        color: #009FE3;
        font-weight: 500;
        font-size: 14px;
        text-shadow: 0 0 4px #FFF, 0 0 4px #FFF, 0 0 4px #FFF, 0 0 4px #FFF, 0 0 4px #FFF; /*https://stackoverflow.com/a/14249403/644386*/
        @media (min-width: 768px) {
          top: 40px;
          left: 0;
          margin-left: 50px;
          font-size: 32px;
        }
      }

      .vjs-big-play-button {
        border-width: 0;
        opacity: .8;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        margin-left: -1em;
        margin-top: -1em;
        @media (min-width: 768px) {
          width: 140px;
          height: 140px;
          margin-left: -1.5em;
          margin-top: -1.5em;
        }
      }
      /*https://stackoverflow.com/a/53934255/644386*/
      .vjs-big-play-button .vjs-icon-placeholder:before {
        content: "";
        background-image: url('https://pro-raion.ru/wp-content/uploads/assets/button-big-video-play.svg');
        background-repeat: no-repeat;
        background-size: cover;
      }

      .vjs-control-bar {
        padding: 0 12px;
        width: 90%;
        height: 50px;
        margin: 0 auto;
        bottom: 10px;

        align-self: flex-end;
        align-items: center;
        background-color: #fff;
        border-radius: 30px;
        @media (min-width: 768px) {
          bottom: 50px;
        }
      }

      .vjs-slider {
        height: 16px;
        background-color: #A3D4FF;
      }
      .vjs-play-progress {
        background-color: #009FE3;
      }
      .vjs-play-progress:before {
        content: "";
      }
      .vjs-progress-holder .vjs-load-progress {
        display: none;
      }
      .vjs-button {
        .vjs-icon-placeholder:before {
          color: #009FE3;
          background-repeat: no-repeat;
        }
      }

      .vjs-seek-button {
        display: none;
        @media (min-width: 768px) {
          width: 34px;
        }
        .vjs-icon-placeholder:before {
          display: contents;
          font-size: 24px;
        }
      }
      .skip-back {
        .vjs-icon-placeholder:before {
          display: contents;
        }
        
      }
      .skip-forward {
        .vjs-icon-placeholder:before {
          display: contents;
        }
      }

      .vjs-component-button-stop {
        display: none; /*desktop-only-block*/
        @media (min-width: 768px) {
          display: block;
        }
      }

      .vjs-playing {
        .vjs-icon-placeholder:before {
          content: "" !important;
          background-image: url('https://pro-raion.ru/wp-content/uploads/assets/button-audio-pause.svg');
          background-position: center;
          background-size: 21px;
        }
      }
      .vjs-paused {
        .vjs-icon-placeholder:before {
          content: "" !important;
          background-image: url('https://pro-raion.ru/wp-content/uploads/assets/button-audio-play.svg');
          background-position: center;
        }
      }
      .vjs-mute-control {
        width: 24px;
        @media (min-width: 768px) {
          width: 40px;
        }
        .vjs-icon-placeholder:before {
          display: contents;
          font-size: 24px;
        }
      }

      .vjs-fullscreen-control {
        .vjs-icon-placeholder:before {
          content: "" !important;
          background-image: url('https://pro-raion.ru/wp-content/uploads/assets/button-video-fullscreen.svg');
          background-position: center;
        }
      }
      .vjs-time-control {
        display: flex;
        color: #848484;
        font-size: 14px;
        font-weight: 300;
        line-height: 16px;
        .vjs-current-time-display {
          align-self: center;
        }
      }
      /*.vjs-remaining-time {
        span:nth-child(2) {
          display: none;
        }
      }*/

    #track-number {
      text-align: center;
    }

    #track-prev-button, #track-next-button {
        width: 24px;
        height: 24px;
      }

    .vjs-component-nav {
      align-items: center;
      #track-number {
        width: 2em;
        color: #848484;
        font-size: 20px;
        font-weight: 700;
        line-height: 23px;
      }
    }

    #vjs-component-seek-forward, #vjs-component-seek-rewind {
      position: absolute;
      display: flex;
      flex-direction: row;
      top: 40%;
      opacity: 0;
      transition: opacity .5s ease-in-out;
      width: 34px;
      height: 22px;
      @media (min-width: 768px) {
        width: 129px;
        height: 84px;
      }
    }
    #vjs-component-seek-forward {
      right: 15%;
    }
    #vjs-component-seek-rewind {
      left: 15%;
    }
  }
  .vjs-fullscreen {
    .vjs-fullscreen-control {
      .vjs-icon-placeholder:before {
        content: "" !important;
        background-image: url('https://pro-raion.ru/wp-content/uploads/assets/button-video-fullscreen-exit.svg');
        background-position: center;

      }
    }
    #vjs-component-seek-forward, #vjs-component-seek-rewind {
      top: 48%;
    }
  }

  .item-link {
    width: 256px;
    background-color: #FFFFFF;
    height: 50px;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    padding: 0 20px 0 15px;
    img {
      margin-right: 10px;
    }
    font-weight: 300;
    font-size: 16px;
    margin-top: 0;
    @media (min-width: 768px) {
      margin-top: 15px;
    }
  }

  .vg-main {
    color: #000000;
    .title-row {
      @media (min-width: 768px) {
        margin-bottom: 40px;
      }
    }
    h1 {
      text-transform: uppercase;
      margin-bottom: 10px;
      @media (min-width: 768px) {
        font-size: 48px;
      }
    }
    h1 {
      text-transform: uppercase !important;
    }
    h4 {
      font-size: 16px;
      margin-bottom: 10px;
      @media (min-width: 768px) {
        font-size: 22px;
      }
    }

    .item-html {
      margin-bottom: 15px;
    }
    /*.item-html > * {
      width: 100%;
    }*/
  }

  @media (max-width: 767px) {
    max-width: 100%; /*max-width mobile*/
  }
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
  @media (min-width: 768px) {
    padding: 0;
  }

  .pr-row {
    padding: 0;
  }

  #video-buttons {
    margin-left: 15px;
  }

  .vg-play-button-mobile, .vg-play-button, #video-play-button, #video-pause-button, #video-stop-button, #video-next-button, #video-prev-button {
    border: 0;
    background: transparent;
    cursor: pointer;
    outline: none;
    text-align: center;
  }

  #video-next-button, #video-prev-button {
    width: 24px;
    height: 24px;
  }

  .vg-play-button, #video-play-button, #video-pause-button, #video-stop-button {
    width: 30px;
    height: 30px;
  }

  #video-stop-button {
    @media (min-width: 768px) {
      margin-right: 5px;
    }
  }

  #video-nav {
    margin-left: 15px;
  }

  #video-track-number {
    vertical-align: bottom;
    color: #848484;
    font-size: 20px;
    font-weight: 700;
    line-height: 23px;
    margin-left: 5px;
    margin-right: 5px;
  }

  #video-pause-button, #video-stop-button, #video-nav {
    display: none;
  }

  .vg-header {
    .subtitle, h2.subtitle {
      color: #000;
      font-size: 16px;
      @media (min-width: 768px) {
        font-size: 22px;
      }
    }

    #img {
      width: 100%;
      @media (min-width: 768px) {
        width: 300px;
      }
    }

    #vg-head {
      width: 100%;

      display: flex;
      flex-direction: column;

      flex: 1;

      padding: 20px;
      @media (min-width: 768px) {
        padding: 40px;
      }
    }
    #video-cover {
      width: 100%;
      @media (min-width: 768px) {
        width: 300px;
      }
      transition: opacity .3s ease-in-out;
    }
    #vg-head-html {
      transition: opacity .4s ease-in-out;
      margin-bottom: 10px;
      /*@media (min-width: 768px) {
        padding: 0;
      }*/
    }
    #vg-head-html, #vg-head-html p, .vg-head-html, .item-html, .item-html p {
      color: #FFFFFF;
    }
    #vg-head-html h2, .vg-head-html h2, .item-html h2 {
      color: #FFFFFF !important;
      font-weight: 600;
      font-size: 18px;
      line-height: 27px;
      @media (min-width: 768px) {
        font-size: 22px !important;
        margin-bottom: 10px;
      }
    }

    #vg-header-info {
    }

    #vg-header-player {
      width: 100%;
      display: none;
    }

    #video-player-row {

      #video-player {
        width: 100%;
      }

      .video-ctrl {
        width: 59px;
        align-items: center;
        @media (min-width: 768px) {
          width: 59px;/*24+15+20*/
        }
        .visible {
          display: none;
          @media (min-width: 768px) {
            display: inline-block;
          }
        }
        .hidden {
          display: none;
        }
      }
      .video-ctrl-full {
        width: 86px;
        @media (min-width: 768px) {
          width: 192px !important;
        }
      }
      .vg-col2 {
        flex: 1;
        width: 181px;
        @media (min-width: 768px) {}
      }
      .vg-col3 {
        width: 65px;
        @media (min-width: 768px) {
          width: 65px;
        }
      }
    }

    #video-player-info {
      padding: 10px 15px;
      @media (min-width: 768px) {
        padding: 20px 25px;
      }
    }

    #video-current-time {
      display: inline-block;
      margin-left: 15px;
      color: #848484;
      font-size: 14px;
      font-weight: 300;
      line-height: 16px;
    }
  }

  .txt-small2, .txt-small2 p {
    font-weight: 300;
    font-size: 14px;
    line-height: 18px;
    @media (min-width: 768px) {
      font-size: 16px;
    }
  }

  .vg-list {

    overflow: auto;

    max-height: 300px;
    @media (min-width: 768px) {
      max-height: 500px;
    }

    margin-bottom: 20px;

    &::-webkit-scrollbar {
      width: 4px;
      background-color: #A3D4FF;
      @media (min-width: 768px) {
        width: 14px;
      }
    }
    &::-webkit-scrollbar-thumb {
      background-color: #009FE3;
    }

    .img-col {
      width: 80px;
    }

    .txt, .txt p {
      font-size: 14px;
      @media (min-width: 768px) {
        font-size: 18px;
      }
    }

    .txt-small, .txt-small p {
      font-size: 14px;
      @media (min-width: 768px) {
        font-size: 16px;
      }
    }

    .active {
      background-color: #F5F5F5;
      border-radius: 10px;
      .txt {
        color: #009FE3;
        @media (min-width: 768px) {
          color: #090c10;
        }
      }

    }
    .pr-row {
      padding: 10px;
    }
    .pr-row > * {
      flex: 0 0 auto;
    }

    .vg-col1 {
      display: none;
      @media (min-width: 768px) {
        display: block;
        width: 275px;
        height: 155px;
        margin-right: 10px;
      }
    }
    .vg-col1-mobile {
      background-size: cover;
      width: 50px;
      height: 50px;
      @media (min-width: 768px) {
        display: none;
      }
    }
    .vg-play-button-mobile {
      margin-top: 16px;
      margin-left: 17px;
    }

    .vg-col2 {
      text-align: center;
      font-weight: 700;
      width: 30px;
      @media (min-width: 768px) {
        width: 40px;
        margin-right: 10px;
      }
    }
    .vg-col3 {
      width: 175px;
      @media (min-width: 768px) {
        flex: 1;
      }
      .txt {
        font-weight: 500;
        line-height: 16px;
        @media (min-width: 768px) {
          line-height: 21px;
        }
      }
      .txt-small {
        font-weight: 400;
        line-height: 16px;
        @media (min-width: 768px) {
          line-height: 19px;
        }
      }
    }
    .vg-col4 {
      margin-left: 10px;
      @media (min-width: 768px) {
        margin-right: 10px;
        width: 40px;
      }
      p {
        font-weight: 400;
        /*@media (min-width: 768px) {
          font-weight: 400;
        }*/
      }
    }
    .vg-col5 {
      display: none;
      justify-content: center;
      align-items: center;
      @media (min-width: 768px) {
        display: flex;
        width: 50px;
      }

      .vg-pause-button {
        display: none;
        border: none;
        outline: none;
        width: 50px;
        height: 50px;
        border-radius: 100px;
        background: rgb(0, 159, 227);
      }
    }

  }
}
