.whiteboard-tool-box, .whiteboard-tool-box-disable {
    width: 100%;
    height: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    z-index: 2;
    margin-top: 16px;
}

.tool-box {
    width: 304px;
}

.tool-mid-box {
    height: 32px;
    display: flex;
    border-radius: 16px;
    background-color: white;
    justify-content: space-between;
    padding-left: 12px;
    padding-right: 12px;
}

.tool-box-cell-box {
    width: 32px;
    height: 32px;
    margin-left: 4px;
    margin-right: 4px;
    user-select: none;
    cursor: pointer;
    background-color: white;
}

.tool-box-cell {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.ant-popover-inner-content {
    padding: 0;
    /*position: absolute;*/
    /*z-index: 3;*/
    /*background-color: slategrey;*/
}

.palette-mid-box {
    width: 320px;
    padding: 16px 16px;
}

.palette-title-one {
    font-size: 12px;
}

.palette-color-box {
    width: 100%;
    height: 32px;
    margin-top: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}

.palette-color-inner-box {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background-color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.palette-color {
    width: 20px;
    height: 20px;
    border-radius: 10px;
    box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.18);
}

.palette-title-two {
    font-size: 12px;
}

.palette-stroke-width-box {
    width: 290px;
    height: 32px;
    margin-top: 24px;
    margin-bottom: 20px;
}

.palette-stroke-under-layer {
    width: 290px;
    height: 32px;
    position: absolute;
    z-index: 1;
}

.palette-stroke-slider-mask {
    width: 290px;
    height: 32px;
    position: absolute;
    z-index: 3;
    display: flex;
    justify-content: center;
}

.palette-stroke-slider {
    width: 90%;
    outline: none;
    margin: 0;
    padding: 0;
    background: none;
}

.ant-popover-inner-content > input {
    -webkit-writing-mode: horizontal-tb !important;
    text-rendering: auto;
    color: -internal-light-dark-color(black, white);
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: start;
    -webkit-appearance: textfield;
    background-color: -internal-light-dark-color(white, black);
    -webkit-rtl-ordering: logical;
    cursor: text;
    margin: 0em;
    font: 400 11px system-ui;
    padding: 1px;
    border-width: 2px;
    border-style: inset;
    border-color: initial;
    border-image: initial;
}

.ant-popover-inner-content > input[type="range" i]
{
    -webkit-appearance: slider-horizontal;
    color: rgb(144, 144, 144);
    cursor: default;
    padding: initial;
    border: initial;
    margin: 2px;
    margin-top: 2px;
    margin-right: 2px;
    margin-bottom: 2px;
    margin-left: 2px;
}
input[type=range] {
    -webkit-appearance: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 12px;
    height: 48px;
    background: #FFFFFF;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
    border-radius: 2px;
    cursor: pointer;
}

.ant-popover {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: rgba(0, 0, 0, 0.65);
    font-size: 14px;
    font-variant: tabular-nums;
    line-height: 1.5;
    list-style: none;
    font-feature-settings: 'tnum';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1030;
    font-weight: normal;
    white-space: normal;
    text-align: left;
    cursor: auto;
    user-select: text;
    background-color: aliceblue;
    left: 38%;
    top: 6%;
}
.palette-color-inner-box:hover
{
    box-shadow: 5px 5px 10px 5px rgba(32, 42, 60, 0), -5px 5px 5px 5px rgba(255, 255, 255, 0.5);
    cursor: pointer;
}
.zj-whiteboard   {
}
.cursor-pencil {
    cursor: -webkit-image-set(url("../img/white/wb_pencil-cursor.png") 1x, url("../img/white/wb_pencil-cursor2x.png") 2x) 2 22, auto;
}
.cursor-easer {
    cursor: -webkit-image-set(url("../img/white/easer-cursor.png") 1x, url("../img/white/easer-cursor2x.png") 2x) 2 22, auto !important;
}

#whiteboard_tool {
    width: 210px;
    /* position: absolute; */
    /* width: 50%;
    margin-left: 25%; */
    z-index: 2;
    background:rgba(0,0,0,.3);
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    /* top: 0px; */
    height: 48px;
    box-sizing: border-box;
    display: inline-block;
    /* border-bottom: 1px solid #EEEFF2; */
}
.activetool{
  border-radius: 6px!important;
}
#whiteboard_tool .whiteboard-tool-features {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
}
#whiteboard_tool .whiteboard-tool-features .feature {
    height: 48px;
    /* background: #FFFFFF; */
    position: relative;
}
.clearbox {
  width: 232px;
  height: 144px;
  background: rgba(36, 36, 36, 0.8);
  border-radius: 8px;
  position: absolute;
  top: 62px;
  left: -84px; 
}
.clearbox p {
  width: 172px;
  height: 48px;
  line-height: 48px;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
  padding: 0px 30px;
  cursor: pointer;
  margin: 0px;
}
.clearbox p:hover {
  background: rgba(255, 255, 255, 0.2);
}

#whiteboard_tool .whiteboard-tool-features .feature img {
    width: 48px;
    height: 48px;
    cursor: pointer;
}
#whiteboard_tool .whiteboard-tool-pen {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 270px;
    height: 120px;
    background: rgba(255,255,255,1);
    box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.1);
    border-radius: 4px;
    border: 1px solid rgba(238,239,242,1);
    box-sizing: border-box;
    padding: 18px 25px;
}
#whiteboard_tool .whiteboard-tool-pen .pen-color, #whiteboard_tool .whiteboard-tool-pen .pen-size {
    display: -ms-flexbox;
    display: flex;
    cursor: pointer;
}
#whiteboard_tool .whiteboard-tool-pen .pen-color .color,
#whiteboard_tool .whiteboard-tool-pen .pen-size .size {
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 4px;
}
#whiteboard_tool .whiteboard-tool-pen .pen-color .color .color-box {
    border-radius: 50%;
    width: 26px;
    height: 26px;
    cursor: pointer;
}
#whiteboard_tool .whiteboard-tool-pen .pen-color .color .color-box.active {
    border: 2px solid #408CFF;
}
#whiteboard_tool .whiteboard-tool-pen .pen-color .color span {
    display: inline-block;
    width: 26px;
    height: 26px;
    box-sizing: border-box;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
}
#whiteboard_tool .whiteboard-tool-pen .pen-color .color span.black {
    background-color: #000000;
}
#whiteboard_tool .whiteboard-tool-pen .pen-color .color span.yellow {
    background-color: #FFD562;
}
#whiteboard_tool .whiteboard-tool-pen .pen-color .color span.red {
    background-color: #FF605C;
}
#whiteboard_tool .whiteboard-tool-pen .pen-color .color span.green {
    background-color: #40E3AB;
}
#whiteboard_tool .whiteboard-tool-pen .pen-color .color span.blue {
    background-color: #408CFF;
}
#whiteboard_tool .whiteboard-tool-pen .pen-size .size .size-box {
    height: 30px;
    border-radius: 20px;
    background-color: #90949A;
    transform: rotate(45deg);
}
#whiteboard_tool .whiteboard-tool-pen .pen-size .size .size-box.active {
    background-color: #408CFF;
}
#whiteboard_tool .whiteboard-tool-pen .pen-size .size .size-box.width5 {
    width: 5px;
}
#whiteboard_tool .whiteboard-tool-pen .pen-size .size .size-box.width10 {
    width: 10px;
}
#whiteboard_tool .whiteboard-tool-pen .pen-size .size .size-box.width15 {
    width: 12px;
}
#whiteboard_tool .whiteboard-tool-pen .pen-size .size .size-box.width20 {
    width: 15px;
}


/* 小圆笔开关 */
.whiteBox{
  width: 50%;
  height: 48px; 
  position: absolute;
  left: 25%;
  top: 20px;
  /* background:rgba(0,0,0,.6); */
  /* border-radius:83px 7px 7px 83px; */
  display: flex;
  justify-content: center;
  }
.whiteBox .switchBox{
  width: 60px;
  height: 48px;
  display: inline-block;
  background:rgba(0,0,0,.3);
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.activebox{
  background:rgba(0,0,0,0) !important;
}
.whiteBox .switchBox>img{
  width: 40px;
  height: 40px;
}