:host {
  .app-layout-native-title-bar {
    -webkit-user-select: none;
    -webkit-app-region: drag;

    position: fixed;
    right: 0;
    top: 0;
    display: flex;
    padding: 0 10px;
    cursor: pointer;
    height: 50px;
    color: #ffffff;
    //background: rgba(37, 27, 30, 0.9);
    //border-bottom: 1px solid #d5dadb;

    .app-layout-native-title-bar-logo {
      width: 32px;
      height: 32px;
    }

    .app-layout-native-title-bar-title {
      padding-left: 8px;
      font-size: 13px;
    }

    .app-layout-native-title-bar-spacer {
      flex: 1 1 auto;
    }
    .btn-area {
      display: flex;
      margin-left: auto;
      flex-flow: row;
      justify-items: center;
      width: calc(100% - 300px);
      overflow: hidden;
      white-space: nowrap;
      position: relative;
      margin-left: auto;
      justify-content: flex-end;
      height: 100%;

      .app-layout-native-title-bar-link {
        align-items: center;
        position: relative;
        display: flex;
        justify-content: flex-end;
        width: calc(100% - 300px);
        overflow: hidden;
        white-space: nowrap;
        transform: translateY(2px);
        .stroke-bar {
          width: 1px;
          height: 20px;
          background-color: rgba(256, 256, 256, 0.3);
          margin: 0 10px 0 20px;
          display: inline-flex;
        }
        .button {
          -webkit-app-region: no-drag;
          outline: 0;
          cursor: pointer;
          border: none;
          height: 30px;
          min-width: 30px;
          max-width: 30px;
          padding: 3px;
          line-height: 10px;
          background-color: #ffffff;
          border-radius: 50%;
          transition: background 0.2s linear, color 0.2s linear;
          text-align: center;
          font-size: 10px;
          vertical-align: middle;
          margin-left: 16px;
          .weblink {
            display: inline-flex;
            line-height: 24px;
            font-size: 12px;
            font-weight: bold;
            text-align: center;
            width: 24px;
            height: 24px;
            background-repeat: no-repeat;
            background-position: 50% 50%;
            text-indent: -1000000px;
            justify-content: center;
            color: #2d3a4a;
            &.dsp {
              text-indent: 0;
            }
            &.sms {
              text-indent: 0;
              letter-spacing: -1px;
            }
            &.ep,
            &.it-service {
              text-indent: 0;
              font-size: 13px;
            }
            &.S_OM,
            &.Personal-news {
              text-indent: 0;
              font-size: 11px;
              letter-spacing: -1px;
            }
          }

          &.app-layout-native-title-bar-logout,
          &.app-layout-native-title-bar-setting {
            background-color: #efefef;
            border-radius: 50%;
          }
          &:hover {
            opacity: 0.7;
          }
          .mat-badge-content {
            transform: translateY(4px);
          }
        }
      }

      .myprofile-item {
        -webkit-app-region: no-drag;
        align-items: center;
        display: flex;
        transform: translateY(2px);
      }

      .app-layout-native-title-bar-actions {
        display: flex;
        align-items: center;
        position: relative;
        .button {
          -webkit-app-region: no-drag;
          outline: 0;
          cursor: pointer;
          border: none;
          height: 30px;
          min-width: 30px;
          max-width: 30px;
          padding: 5px;
          line-height: 10px;
          border-radius: 0;
          background: transparent;
          transition: background 0.2s linear, color 0.2s linear;
          text-align: center;
          font-size: 10px;
          vertical-align: middle;
          margin-left: 6px;
          transform: translateY(-2px);
          .mat-icon {
            //transform: translateY(-2px);
            width: 16px;
            height: 16px;
            min-height: 16px;
            min-width: 16px;
            font-size: 16px;
          }

          &.app-layout-native-title-bar-close,
          &.app-layout-native-title-bar-maximize,
          &.app-layout-native-title-bar-minimize {
            color: darken(white, 20%);
            font-weight: lighter;
          }

          // &.app-layout-native-title-bar-minimize .mat-icon {
          //   transform: translateY(-43%);
          // }

          &:hover {
            border-radius: 4px;
            &.app-layout-native-title-bar-close {
              background: darken(#000000, 10%);
              color: darken(white, 0);
            }

            &.app-layout-native-title-bar-minimize {
              background: darken(#000000, 10%);
              color: darken(white, 0);
            }

            &.app-layout-native-title-bar-maximize {
              background: darken(#000000, 10%);
              color: darken(white, 0);
            }
          }
        }
      }
    }
  }
}
@mixin weblink($color) {
  $color: rgba($color, 0.999);
  .webhard {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='#{$color}' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E%3Cpath d='M4.5,4.3L1.7,10v5c0,0.9,0.7,1.7,1.7,1.7h13.3c0.9,0,1.7-0.7,1.7-1.7v-5l-2.9-5.7c-0.3-0.6-0.9-0.9-1.5-0.9H6 C5.4,3.3,4.8,3.7,4.5,4.3z'/%3E%3Cline class='st0' x1='5' y1='13.3' x2='5' y2='13.3'/%3E%3Cline class='st0' x1='8.3' y1='13.3' x2='8.3' y2='13.3'/%3E%3C/svg%3E");
  }
  .vc {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='#{$color}' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-video'%3E%3Cpolygon points='23 7 16 12 23 17 23 7'%3E%3C/polygon%3E%3Crect x='1' y='5' width='15' height='14' rx='2' ry='2'%3E%3C/rect%3E%3C/svg%3E");
  }
  .elephant {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='#{$color}' stroke='none' xml:space='preserve'%3E%3Cpath d='M19.1,5c-1,0-2,0.4-2.7,1.1c-1.2-1-2.9-1.5-4.7-1.5c-1.7,0-3.3,0.5-4.5,1.4C6.6,5.3,5.7,5,4.8,5C2.6,5,0.9,6.7,0.9,8.8 c0,1.1,1.1,4.6,2.7,5.7c0.3,0.2,0.7,0.3,1.1,0.3c0.2,0,0.4,0,0.6-0.1c0.5-0.2,0.9-0.4,1.3-0.6c0.6,0.6,1.3,1,2.1,1.4l0.8,1.2 c0.3,0.5,0.5,1.1,0.6,1.7H9.2c-0.7,0-1.2,0.6-1.2,1.2s0.6,1.2,1.2,1.2h0.4c2.5,0,4.6-1.7,5.2-4.1l0.4-1.4c0.7-0.4,1.4-0.8,1.9-1.3 c0.4,0.3,0.9,0.5,1.5,0.8c0.2,0.1,0.4,0.1,0.6,0.1c0.4,0,0.7-0.1,1.1-0.3c1.6-1.1,2.7-4.6,2.7-5.7C22.9,6.7,21.2,5,19.1,5z M5,14.1 c-0.3,0.1-0.7,0.1-1-0.2C2.7,13,1.7,9.8,1.7,8.8c0-1.7,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5-0.7,0.7-1.1c0.2,0.1,0.4,0.2,0.6,0.3c0.1,0.1,0.3,0.1,0.4,0.1 c0.2,0,0.4-0.1,0.6-0.2c0.9-0.6,1.5-2.5,1.5-3.1c0-1.2-1-2.1-2.1-2.1c-0.5,0-0.9,0.2-1.3,0.4c-0.2-0.4-0.5-0.7-0.9-1.1 c0.6-0.6,1.3-0.9,2.1-0.9c1.7,0,3.1,1.4,3.1,3.1C22.2,9.8,21.1,13,19.8,13.9z'/%3E%3Cpath d='M11.5,16.5h1c0.3,0,0.5-0.2,0.5-0.5s-0.2-0.5-0.5-0.5h-1c-0.3,0-0.5,0.2-0.5,0.5S11.2,16.5,11.5,16.5z'/%3E%3Cpath d='M13,17.6H11c-0.3,0-0.5,0.2-0.5,0.5s0.2,0.5,0.5,0.5H13c0.3,0,0.5-0.2,0.5-0.5S13.3,17.6,13,17.6z'/%3E%3Cpath d='M17,12.4c0,0.5-0.4,0.8-0.8,0.8c-0.5,0-0.8-0.4-0.8-0.8s0.4-0.8,0.8-0.8C16.7,11.6,17,12,17,12.4z'/%3E%3Cpath d='M8.5,12.4c0,0.5-0.4,0.8-0.8,0.8c-0.5,0-0.8-0.4-0.8-0.8s0.4-0.8,0.8-0.8C8.1,11.6,8.5,12,8.5,12.4z'/%3E%3C/svg%3E");
  }
  .mail {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='#{$color}' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E");
  }
  .approved {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='#{$color}' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E%3Cpath d='M20.24 12.24a6 6 0 0 0-8.49-8.49L5 10.5V19h8.5z'%3E%3C/path%3E%3Cline x1='16' y1='8' x2='2' y2='22'%3E%3C/line%3E%3Cline x1='17.5' y1='15' x2='9' y2='15'%3E%3C/line%3E%3C/svg%3E");
  }
}

@include weblink(#2d3a4a);

::ng-deep .myset {
  .mat-menu-content {
    .setting {
      display: flex;
      flex-flow: row;
      align-items: center;
      height: 48px;
      .zoom {
        height: 16px;
        background-repeat: no-repeat;
        &.plus-square {
          margin-left: 10px;
          padding-left: 26px;
          background-position: left 50%;
          line-height: normal;
          background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1' stroke-linecap='round' stroke-linejoin='round' %3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='12' y1='8' x2='12' y2='16'%3E%3C/line%3E%3Cline x1='8' y1='12' x2='16' y2='12'%3E%3C/line%3E%3C/svg%3E");
        }
        &.minus-square {
          margin-right: 10px;
          padding-right: 26px;
          background-position: right 50%;
          line-height: normal;
          background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1' stroke-linecap='round' stroke-linejoin='round' %3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='8' y1='12' x2='16' y2='12'%3E%3C/line%3E%3C/svg%3E");
        }
        &:hover {
          background-repeat: no-repeat;
        }
      }
      .set-size {
        margin: 0 10px;
      }
    }
  }
}

::ng-deep .status-pc-set {
  .mat-menu-content {
    .setting {
      display: flex;
      flex-flow: row;
      align-items: center;
      button {
        .presence {
          margin-right: 10px;
          cursor: pointer;
        }
        &:nth-child(2) {
          margin-right: 20px;
          margin-left: auto;
          background-color: transparent;
          background-repeat: no-repeat;
          background-position: 50%;
          border: none;
          width: 24px;
          height: 24px;
          &.clock {
            background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-clock'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
          }
          &.edit {
            background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-edit-2'%3E%3Cpath d='M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z'%3E%3C/path%3E%3C/svg%3E");
          }
        }
      }
    }
  }
}