@import "~@enact/sandstone/styles/variables.less";
@import "~@enact/sandstone/styles/mixins.less";
@import "~@enact/sandstone/styles/skin.less";

.controlsFrame {
  width: 500px;
  position: relative;
  display: block;
  bottom: 114px;
  left: 47px;

  .videoVertical {
    position: relative;
    bottom: -5px;
    left: 614px;
  }
  &.hidden {
    /* will-change: opacity; // WebOS TV 메모리 최적화를 위해 주석 처리 */
    opacity: 0;
  }

  .mediaControls {
    > *:first-child {
      margin-inline-start: 0;
    }
  }

  .actionGuide {
    padding-top: 39px;
    transition: opacity @sand-mediaplayer-controls-actionguide-time linear;
    &.hidden {
      opacity: 0;
    }
  }

  .moreComponents {
    position: absolute;
    left: 0;
    right: 0;
    height: 0px;
    opacity: 0;

    .moreButtonsComponents {
      > * {
        margin: 0;
        margin-inline-start: 114px;

        &:first-child {
          margin-inline-start: 0;
        }
      }
    }

    > :first-child {
      margin-top: 21px;
    }
  }

  .button {
    height: 78px;
    width: 78px;
    margin: 0;
    margin-inline-start: 45px;
    padding: 0 !important;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    &:focus {
      // border-radius:50%;
      // > div:nth-child(1) {
      // display: none;
      .bg {
        width: 78px;
        height: 78px;
        border-radius: 50%;
        transform: none;
        background-color: #c70850 !important;
        opacity: 0.5;
        filter: none !important;
        -webkit-filter: none !important;
      }
      // }
    }

    .client {
      width: 60px;
      height: 60px;
      padding: 0;
      display: inline-block;
      vertical-align: top;
      line-height: 0;
      > div:nth-child(1) {
        width: 60px;
        height: 60px;
        background-size: 60px 60px;
        background-position: center center;
      }
    }
  }
}
