::-webkit-scrollbar{width:6px;}
::-webkit-scrollbar-thumb{background-color:#CCCCDD;}
::-webkit-scrollbar-thumb:hover{background-color:#666;}
xeditor{ display:block; width:460px; border:1px solid #bbb; color:#556;}
xeditor select{ height:26px; font-size:12px; color:#667; border:1px solid #ccc; margin:0px; border-radius:2px; }
xeditor button{background:linear-gradient(to top, #e9e9e9 50%, #fff); border:1px solid #ccc; border-radius:2px; font-size:12px; line-height:24px; padding:0 10px; color:#667;}
xeditor button:hover{background:linear-gradient(to top, #e9e9e9 50%, #f9f9f9);}
xeditor select:focus,
xeditor button:focus{outline:none;}
xeditor button:active{background:linear-gradient(to top, #e3e3e3 50%, #f3f3f3);}
xeditor input[type=text]{ line-height:20px; height:20px; text-indent:5px;}
xeditor textarea:focus,
xeditor input[type=text]:focus{ outline:none; border-color:#888; color:#223;}
xeditor textarea,
xeditor input{ border:1px solid #bbd; color:#777; box-shadow:0 0 5px #dde inset; background-color:#F9F9F9; line-height:130%; font-size:12px; overflow-y:auto; overflow-x:hidden;}
xeditor clear{clear:both; display:block; height:0px; overflow:hidden;}
xeditor iframe{border-top-color:#ddd; overflow:auto; width:458px; height:150px; border:none;}
xeditor li,
xeditor ul{ margin:0px; padding:0px; list-style:none;}
xeditor commandbars{padding:3px; background-color:#e9e9e9;display:block; border-bottom:solid 1px #ccc;}
xeditor commandbars ul{}
xeditor commandbars li{ float:left; box-shadow:0 0 3px #ccc; border-radius:3px; margin-right:3px; text-align:center; min-width:26px; height:26px;  background:#f6f6f6 linear-gradient(to top, #e9e9e9 50%, #f9f9f9); border:1px solid #ccc;}
xeditor commandbars li span{background-image:url(../images/icon.png); padding:0 1px; background-repeat:no-repeat; display:inline-block; height:100%; min-width:26px;}
xeditor commandbars li span:hover{ padding:0px; box-shadow:inset 0px 0px 7px #ccc; border-left:1px solid #ccc; border-right:1px solid #ccc;}
xeditor commandbars li span:hover:first-child{ border-left:none; padding-left:1px;}
xeditor commandbars li span:hover:last-child{ border-right:none; padding-right:1px;}
xeditor commandbars li span.down{box-shadow:inset 0px 0px 50px #ccc;}
xeditor commandbars li span[command-name=b]{background-position:9px 8px;}
xeditor commandbars li span[command-name=clear]{background-position:-41px 9px;}
xeditor commandbars li span[command-name=s]{background-position:-91px 8px;}
xeditor commandbars li span[command-name=color]{background-position:-542px 6px;}
xeditor commandbars li span[command-name=fontsize]{background-position:-142px 8px;}
xeditor commandbars li span[command-name=f]{background-position:-191px 8px;}
xeditor commandbars li span[command-name=link]{background-position:-243px 10px;}
xeditor commandbars li span[command-name=unlink]{background-position:-292px 10px;}
xeditor commandbars li span[command-name=code]{background-position:-343px 8px;}
xeditor commandbars li span[command-name=face]{background-position:-393px 6px;}
xeditor commandbars li span[command-name=img]{background-position:-443px 8px;}
xeditor popup{ position:absolute; font-size:12px; z-index:999;box-shadow:0 0 3px #bbb; display:block; min-height:20px; min-width:50px; border:1px solid #99a; background-color:#f9f9f9; border-radius:3px;}
xeditor popup.face-popup{ padding:8px;}
xeditor popup.face-popup table{border-collapse:collapse; border-radius:3px;}
xeditor popup.face-popup td{border:solid #D3E4F0 1px; padding:4px;}
xeditor popup.face-popup div{ width:24px; height:24px; background-image:url(../images/default.gif); background-repeat:no-repeat;}
xeditor popup.face-popup td img{display:none;}
xeditor popup.face-popup td:hover img{display:block;}
xeditor popup.face-popup td:hover div{display:none;}
xeditor popup.code-popup{ padding:8px;}
xeditor popup.code-popup textarea{ width:340px; height:140px; margin:0px auto; display:block;}
xeditor popup.code-popup footer{ margin-top:3px;}

xeditor popup.createlink-popup{ padding:10px;}
xeditor popup.createlink-popup label:first-child input{ min-width:300px; margin:0 5px;}
xeditor popup.fontsize-popup{padding:10px;}
xeditor popup.fontsize-popup li{ padding:4px; cursor:default;}
xeditor popup.fontsize-popup li:hover{ background-color:#FFF9C3;}
xeditor popup.fontsize-popup li:nth-child(1){ font-size:12px}
xeditor popup.fontsize-popup li:nth-child(2){ font-size:14px}
xeditor popup.fontsize-popup li:nth-child(3){ font-size:16px}
xeditor popup.fontsize-popup li:nth-child(4){ font-size:18px}
xeditor popup.fontsize-popup li:nth-child(5){ font-size:20px}
xeditor popup.fontsize-popup li:nth-child(6){ font-size:22px}

xeditor popup.colors-popup td{width:16px; height:16px; padding:1px;}
