@font-face{font-family:"summernote";font-style:normal;font-weight:400;font-display:auto;src:url(font/summernote.eot);src:url(font/summernote.eot?#iefix) format("embedded-opentype"),url(font/summernote.woff2) format("woff2"),url(font/summernote.woff) format("woff"),url(font/summernote.ttf) format("truetype")}[class^=note-icon]:before,[class*=" note-icon"]:before{display:inline-block;font-family:summernote;font-style:normal;font-size:inherit;text-decoration:inherit;text-rendering:auto;text-transform:none;vertical-align:middle;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;speak:never}.note-icon-fw{text-align:center;width:1.25em}.note-icon-border{border:solid .08em #eee;border-radius:.1em;padding:.2em .25em .15em}.note-icon-pull-left{float:left}.note-icon-pull-right{float:right}.note-icon.note-icon-pull-left{margin-right:.3em}.note-icon.note-icon-pull-right{margin-left:.3em}.note-icon-align::before{content:""}.note-icon-align-center::before{content:""}.note-icon-align-indent::before{content:""}.note-icon-align-justify::before{content:""}.note-icon-align-left::before{content:""}.note-icon-align-outdent::before{content:""}.note-icon-align-right::before{content:""}.note-icon-arrow-circle-down::before{content:""}.note-icon-arrow-circle-left::before{content:""}.note-icon-arrow-circle-right::before{content:""}.note-icon-arrow-circle-up::before{content:""}.note-icon-arrows-alt::before{content:""}.note-icon-arrows-h::before{content:""}.note-icon-arrows-v::before{content:""}.note-icon-bold::before{content:""}.note-icon-caret::before{content:""}.note-icon-chain-broken::before{content:""}.note-icon-circle::before{content:""}.note-icon-close::before{content:""}.note-icon-code::before{content:""}.note-icon-col-after::before{content:""}.note-icon-col-before::before{content:""}.note-icon-col-remove::before{content:""}.note-icon-eraser::before{content:""}.note-icon-float-left::before{content:""}.note-icon-float-none::before{content:""}.note-icon-float-right::before{content:""}.note-icon-font::before{content:""}.note-icon-frame::before{content:""}.note-icon-italic::before{content:""}.note-icon-link::before{content:""}.note-icon-magic::before{content:""}.note-icon-menu-check::before{content:""}.note-icon-minus::before{content:""}.note-icon-orderedlist::before{content:""}.note-icon-pencil::before{content:""}.note-icon-picture::before{content:""}.note-icon-question::before{content:""}.note-icon-redo::before{content:""}.note-icon-rollback::before{content:""}.note-icon-row-above::before{content:""}.note-icon-row-below::before{content:""}.note-icon-row-remove::before{content:""}.note-icon-special-character::before{content:""}.note-icon-square::before{content:""}.note-icon-strikethrough::before{content:""}.note-icon-subscript::before{content:""}.note-icon-summernote::before{content:""}.note-icon-superscript::before{content:""}.note-icon-table::before{content:""}.note-icon-text-height::before{content:""}.note-icon-trash::before{content:""}.note-icon-underline::before{content:""}.note-icon-undo::before{content:""}.note-icon-unorderedlist::before{content:""}.note-icon-video::before{content:""}.note-editor{position:relative;background-color:#ffffff!important;}.note-editor .note-dropzone{position:absolute;display:none;z-index:100;color:#87cefa;background-color:#fff;opacity:.95}.note-editor .note-dropzone .note-dropzone-message{display:table-cell;vertical-align:middle;text-align:center;font-size:28px;font-weight:700}.note-editor .note-dropzone.hover{color:#098ddf}.note-editor.dragover .note-dropzone{display:table}.note-editor .note-editing-area{position:relative}.note-editor .note-editing-area .note-editable{outline:none;border:solid 1px #eee;}.note-editor .note-editing-area .note-editable sup{vertical-align:super}.note-editor .note-editing-area .note-editable sub{vertical-align:sub}.note-editor .note-editing-area .note-editable img.note-float-left{margin-right:10px}.note-editor .note-editing-area .note-editable img.note-float-right{margin-left:10px}.note-editor.note-frame,.note-editor.note-airframe{border:1px solid #00000032}.note-editor.note-frame.codeview .note-editing-area .note-editable,.note-editor.note-airframe.codeview .note-editing-area .note-editable{display:none}.note-editor.note-frame.codeview .note-editing-area .note-codable,.note-editor.note-airframe.codeview .note-editing-area .note-codable{display:block}.note-editor.note-frame .note-editing-area,.note-editor.note-airframe .note-editing-area{overflow:hidden}.note-editor.note-frame .note-editing-area .note-editable,.note-editor.note-airframe .note-editing-area .note-editable{padding:0;overflow:auto;word-wrap:break-word}.note-editor.note-frame .note-editing-area .note-editable[contenteditable=false],.note-editor.note-airframe .note-editing-area .note-editable[contenteditable=false]{background-color:#8080801d}.note-editor.note-frame .note-editing-area .note-codable,.note-editor.note-airframe .note-editing-area .note-codable{display:none;width:100%;padding:10px;border:none;box-shadow:none;font-family:Menlo,Monaco,monospace,sans-serif;font-size:14px;color:#ccc;background-color:#222;resize:none;outline:none;-ms-box-sizing:border-box;box-sizing:border-box;border-radius:0;margin-bottom:0}.note-editor.note-frame.fullscreen,.note-editor.note-airframe.fullscreen{position:fixed;top:0;left:0;width:100%!important;z-index:1050}.note-editor.note-frame.fullscreen .note-resizebar,.note-editor.note-airframe.fullscreen .note-resizebar{display:none}.note-editor.note-frame .note-status-output,.note-editor.note-airframe .note-status-output{display:block;width:100%;font-size:14px;line-height:1.42857143;height:20px;margin-bottom:0;color:#000;}.note-editor.note-frame .note-status-output:empty,.note-editor.note-airframe .note-status-output:empty{height:0;border-top:0 solid transparent}.note-editor.note-frame .note-status-output .pull-right,.note-editor.note-airframe .note-status-output .pull-right{float:right !important}.note-editor.note-frame .note-status-output .text-muted,.note-editor.note-airframe .note-status-output .text-muted{color:#777}.note-editor.note-frame .note-status-output .text-primary,.note-editor.note-airframe .note-status-output .text-primary{color:#286090}.note-editor.note-frame .note-status-output .text-success,.note-editor.note-airframe .note-status-output .text-success{color:#3c763d}.note-editor.note-frame .note-status-output .text-info,.note-editor.note-airframe .note-status-output .text-info{color:#31708f}.note-editor.note-frame .note-status-output .text-warning,.note-editor.note-airframe .note-status-output .text-warning{color:#8a6d3b}.note-editor.note-frame .note-status-output .text-danger,.note-editor.note-airframe .note-status-output .text-danger{color:#a94442}.note-editor.note-frame .note-status-output .alert,.note-editor.note-airframe .note-status-output .alert{margin:-7px 0 0 0;padding:7px 10px 2px 10px;border-radius:0;color:#000;background-color:#f5f5f5}.note-editor.note-frame .note-status-output .alert .note-icon,.note-editor.note-airframe .note-status-output .alert .note-icon{margin-right:5px}.note-editor.note-frame .note-status-output .alert-success,.note-editor.note-airframe .note-status-output .alert-success{color:#3c763d !important;background-color:#dff0d8 !important}.note-editor.note-frame .note-status-output .alert-info,.note-editor.note-airframe .note-status-output .alert-info{color:#31708f !important;background-color:#d9edf7 !important}.note-editor.note-frame .note-status-output .alert-warning,.note-editor.note-airframe .note-status-output .alert-warning{color:#8a6d3b !important;background-color:#fcf8e3 !important}.note-editor.note-frame .note-status-output .alert-danger,.note-editor.note-airframe .note-status-output .alert-danger{color:#a94442 !important;background-color:#f2dede !important}.note-editor.note-frame .note-statusbar,.note-editor.note-airframe .note-statusbar,.note-status-output{background-color:#8080801d;border-top:1px solid #00000032}.note-editor.note-frame .note-statusbar .note-resizebar,.note-editor.note-airframe .note-statusbar .note-resizebar{padding-top:1px;height:9px;width:100%;cursor:ns-resize}.note-editor.note-frame .note-statusbar .note-resizebar .note-icon-bar,.note-editor.note-airframe .note-statusbar .note-resizebar .note-icon-bar{width:20px;margin:1px auto;border-top:1px solid #00000032}.note-editor.note-frame .note-statusbar.locked .note-resizebar,.note-editor.note-airframe .note-statusbar.locked .note-resizebar{cursor:default}.note-editor.note-frame .note-statusbar.locked .note-resizebar .note-icon-bar,.note-editor.note-airframe .note-statusbar.locked .note-resizebar .note-icon-bar{display:none}.note-editor.note-frame .note-placeholder,.note-editor.note-airframe .note-placeholder{padding:10px}.note-editor.note-airframe{border:0}.note-editor.note-airframe .note-editing-area .note-editable{padding:0}.note-popover.popover{display:none;max-width:none}.note-popover.popover .popover-content a{display:inline-block;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}.note-popover.popover .arrow{left:20px !important}.note-toolbar{position:relative}.note-popover .popover-content,.note-editor .note-toolbar{margin:0;padding:0 0 5px 5px}.note-popover .popover-content>.note-btn-group,.note-editor .note-toolbar>.note-btn-group{margin-top:5px;margin-left:0;margin-right:5px}.note-popover .popover-content .note-btn-group .note-table,.note-editor .note-toolbar .note-btn-group .note-table{min-width:0;padding:5px}.note-popover .popover-content .note-btn-group .note-table .note-dimension-picker,.note-editor .note-toolbar .note-btn-group .note-table .note-dimension-picker{font-size:18px}.note-popover .popover-content .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-mousecatcher,.note-editor .note-toolbar .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-mousecatcher{position:absolute !important;z-index:3;width:10em;height:10em;cursor:pointer}.note-popover .popover-content .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-unhighlighted,.note-editor .note-toolbar .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-unhighlighted{position:relative !important;z-index:1;width:5em;height:5em;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIj4+Pjp6ekKlAqjAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKhmnaJzPAAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC") repeat}.note-popover .popover-content .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-highlighted,.note-editor .note-toolbar .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-highlighted{position:absolute !important;z-index:2;width:1em;height:1em;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIjd6vvD2f9LKLW+AAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKwNDEVT0AAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC") repeat}.note-popover .popover-content .note-style .dropdown-style blockquote,.note-popover .popover-content .note-style .dropdown-style pre,.note-editor .note-toolbar .note-style .dropdown-style blockquote,.note-editor .note-toolbar .note-style .dropdown-style pre{margin:0;padding:5px 10px}.note-popover .popover-content .note-style .dropdown-style h1,.note-popover .popover-content .note-style .dropdown-style h2,.note-popover .popover-content .note-style .dropdown-style h3,.note-popover .popover-content .note-style .dropdown-style h4,.note-popover .popover-content .note-style .dropdown-style h5,.note-popover .popover-content .note-style .dropdown-style h6,.note-popover .popover-content .note-style .dropdown-style p,.note-editor .note-toolbar .note-style .dropdown-style h1,.note-editor .note-toolbar .note-style .dropdown-style h2,.note-editor .note-toolbar .note-style .dropdown-style h3,.note-editor .note-toolbar .note-style .dropdown-style h4,.note-editor .note-toolbar .note-style .dropdown-style h5,.note-editor .note-toolbar .note-style .dropdown-style h6,.note-editor .note-toolbar .note-style .dropdown-style p{margin:0;padding:0}.note-dropdown-menu{background:#ffffff;}.note-popover .popover-content .note-color .dropdown-toggle,.note-editor .note-toolbar .note-color .dropdown-toggle{width:20px;padding-left:5px}.note-popover .popover-content .note-color .note-dropdown-menu .note-palette,.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette{display:inline-block;margin:0;width:160px}.note-popover .popover-content .note-color .note-dropdown-menu .note-palette:first-child,.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette:first-child{margin:0 5px}.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-palette-title,.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-palette-title{font-size:12px;margin:2px 7px;text-align:center;border-bottom:1px solid #eee}.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-reset,.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-select,.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-reset,.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-select{font-size:11px;margin:3px;padding:0 3px;cursor:pointer;width:100%;border-radius:5px}.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-reset:hover,.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-select:hover,.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-reset:hover,.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-select:hover{background:#eee}.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-row,.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-row{height:20px}.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-select-btn,.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-select-btn{ height:1px; visibility:hidden; position:absolute;}.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-holder-custom .note-color-btn,.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-holder-custom .note-color-btn{border:1px solid #eee}.note-popover .popover-content .note-para .note-dropdown-menu,.note-editor .note-toolbar .note-para .note-dropdown-menu{min-width:228px;padding:5px}.note-popover .popover-content .note-para .note-dropdown-menu>div+div,.note-editor .note-toolbar .note-para .note-dropdown-menu>div+div{margin-left:5px}.note-popover .popover-content .note-dropdown-menu,.note-editor .note-toolbar .note-dropdown-menu{min-width:160px}.note-popover .popover-content .note-dropdown-menu.right,.note-editor .note-toolbar .note-dropdown-menu.right{right:0;left:auto}.note-popover .popover-content .note-dropdown-menu.right::before,.note-editor .note-toolbar .note-dropdown-menu.right::before{right:9px;left:auto !important}.note-popover .popover-content .note-dropdown-menu.right::after,.note-editor .note-toolbar .note-dropdown-menu.right::after{right:10px;left:auto !important}.note-popover .popover-content .note-dropdown-menu.note-check a i,.note-editor .note-toolbar .note-dropdown-menu.note-check a i{color:#00bfff;visibility:hidden}.note-popover .popover-content .note-dropdown-menu.note-check a.checked i,.note-editor .note-toolbar .note-dropdown-menu.note-check a.checked i{visibility:visible}.note-popover .popover-content .note-fontsize-10,.note-editor .note-toolbar .note-fontsize-10{font-size:10px}.note-popover .popover-content .note-color-palette,.note-editor .note-toolbar .note-color-palette{line-height:1}.note-popover .popover-content .note-color-palette div .note-color-btn,.note-editor .note-toolbar .note-color-palette div .note-color-btn{width:20px;height:20px;padding:0;margin:0;border:solid 1px #fff;border-radius:0}.note-popover .popover-content .note-color-palette div .note-color-btn:hover,.note-editor .note-toolbar .note-color-palette div .note-color-btn:hover{transform:scale(1.2);transition:all .2s}.note-modal .modal-dialog{outline:0;border-radius:5px;box-shadow:0 3px 9px rgba(0,0,0,.5)}.note-modal .form-group{margin-left:0;margin-right:0}.note-modal .note-modal-form{margin:0}.note-modal .note-image-dialog .note-dropzone{min-height:100px;font-size:30px;line-height:4;color:#d3d3d3;text-align:center;border:4px dashed #d3d3d3;margin-bottom:10px}@-moz-document url-prefix(){.note-modal .note-image-input{height:auto}}.note-placeholder{position:absolute;display:none;color:gray}.note-handle .note-control-selection{position:absolute;display:none;border:1px solid #000}.note-handle .note-control-selection>div{position:absolute}.note-handle .note-control-selection .note-control-selection-bg{width:100%;height:100%;background-color:#000;-webkit-opacity:.3;-khtml-opacity:.3;opacity:.3;filter:alpha(opacity=30)}.note-handle .note-control-selection .note-control-handle,.note-handle .note-control-selection .note-control-sizing,.note-handle .note-control-selection .note-control-holder{width:7px;height:7px;border:1px solid #000}.note-handle .note-control-selection .note-control-sizing{background-color:#000}.note-handle .note-control-selection .note-control-nw{top:-5px;left:-5px;border-right:none;border-bottom:none}.note-handle .note-control-selection .note-control-ne{top:-5px;right:-5px;border-bottom:none;border-left:none}.note-handle .note-control-selection .note-control-sw{bottom:-5px;left:-5px;border-top:none;border-right:none}.note-handle .note-control-selection .note-control-se{right:-5px;bottom:-5px;cursor:se-resize}.note-handle .note-control-selection .note-control-se.note-control-holder{cursor:default;border-top:none;border-left:none}.note-handle .note-control-selection .note-control-selection-info{right:0;bottom:0;padding:5px;margin:5px;color:#fff;background-color:#000;font-size:12px;border-radius:5px;-webkit-opacity:.7;-khtml-opacity:.7;opacity:.7;filter:alpha(opacity=70)}.note-hint-popover{min-width:100px;padding:2px}.note-hint-popover .popover-content{padding:3px;max-height:150px;overflow:auto}.note-hint-popover .popover-content .note-hint-group .note-hint-item{display:block !important;padding:3px}.note-hint-popover .popover-content .note-hint-group .note-hint-item.active,.note-hint-popover .popover-content .note-hint-group .note-hint-item:hover{display:block;clear:both;font-weight:400;line-height:1.4;color:#fff;white-space:nowrap;text-decoration:none;background-color:#428bca;outline:0;cursor:pointer}.note-toolbar{background:#8080801d}.note-btn-group .note-btn{border-color:#00000032;padding:.28rem .65rem;font-size:13px;}
#tempshowtab{height:400px;overflow-y:scroll;width:100%;}

.note-status-div,
.note-status-div *,note-toolbar,.note-toolbar *,.note-modal *{
    font-family: "Microsoft JhengHei", "PingFang TC", "Heiti TC", "Microsoft YaHei", sans-serif,FontAwesome !important;
}

.emoji-dialog { width: 300px; padding: 10px; position:fixed;left: calc(50% - 150px);top: calc(50% - 150px);
}.emoji-icon {display: inline-block;width: 24px;height: 24px;background-size: 24px;}
.emoji {display: inline-block;width: 20px;height: 20px;}
.emoji-list,.note-ext-back-list {height: 200px;overflow-y: scroll;}
.note-para .dropdown-toggle.list-styles {padding-left: .28rem !important;padding-right:.28rem !important;}
.dropdown-list-styles{min-width:180px!important;}
.dropdown-list-styles > li,.dropdown-list-styles > li > div > ol {	margin-top: 0px;margin-bottom: 0px;}
.dropdown-list-styles > li > div i {display:none;}
.dropdown-list-styles > li > div.checked i {display:inline;color: #17aa1c;}
.dropdown-fontname a.dropdown-item{padding-left:5px!important;}
.note-ext-back-list div.dropdown-item{padding-left:5px!important;}
.dropdown-back{min-width:230px!important;}
.note-section-move{ position:absolute;z-index:500;}
.note-section-move-btn{position:absolute;z-index:500;top:0;right:0;}
.outimg{width:500px;max-width:100%;height:auto;border:solid 2px #FF0000;}
#upLoadoutimg{ position:absolute;z-index:500;display:none;}
#outimgmsg{display:none;color:#990000;}
#croptable{display:none;padding:0;}
.cropssdiv {width:82px; height: 82px; max-width:100%;display:table;background-color: #dcdcdc; border:solid 1px #ddd; float:left;margin-right:8px;}
.cropssdiv:hover{ border:solid 1px #ccc;}
.imgverl{display:table-cell; vertical-align:middle;text-align:center;margin-right:8px;border:solid 1px #fff;}
.imgverl img.cropviewimg {max-width:80px;height:auto;max-height:80px;width:auto;cursor:pointer;}
.xcimg{ background-color:#666;padding:0 3px; color:#FFFFFF; font-size:7px; font-weight:800;position:absolute;cursor:pointer;}
.filterdiv{width:96px;height:auto;font-size:11px;border:solid 1px #333; text-align:center;margin:10px 8px 10px 0; float:left;}
.filterdiv0{width:200px;height:auto;font-size:13px;}

.filterimg,#viewfilter{cursor:pointer;margin-bottom:10px;}
.setrange,.cgvline,.cancelbg{ background-color:#666;color:#FFF;cursor:pointer; position:absolute;z-index:1010;padding:0 5px;}
.cgvline{margin-left:20px;}
.cancelbg{margin-left:42px;}
#sampleLink span,#Tsectiondropdown span,#Telemdropdown span,#Timgdropdown span,#Ttextdropdown span,Telsedropdown span{cursor:pointer;}
#sampleview{margin-top:20px; height:480px; overflow:auto;}
.sampleimg{width:109px;height:109px;margin:0 10px 10px 0; cursor:pointer; border:solid 1px #eee;}
#sampleimgzoom{cursor:move;}
.zoomdiv{width:150px;height:150px;margin:-150px 0 0 553px;}
#zoom{display:none;border:solid 1px #000; width:150px;height:150px;}
.sampleimg:hover{border:solid 1px #000;}
.with-arrow .nav-link.active {position: relative;}
.note-Template{height:500px;}
.linktext{ display:block;width:75px;white-space: nowrap;overflow:hidden;text-overflow:ellipsis;}
.note-Template samp{cursor:pointer;position: relative;}/*樣版增加css*/
.note-Template span.sample{cursor:pointer;position: relative;}

.note-Template samp.md1{ display: inline-block;width: 5rem;height:5rem;margin: .25rem; }
.note-Template samp.md2{ display: inline-block;width: 9rem;height:9rem;margin: .25rem;}
.note-Template samp.md3{ display: inline-block;width: 14rem;height: 14rem;margin: .25rem;}
.hidesamp{display:none;}

.note-Template h3 span{ border-bottom:solid 2px #FF3300;}
.note-Template hr{margin:30px 0;}
.note-Template samp.active::before,.note-Template span.sample.active::before{

   font-family: "FontAwesome";
   font-size:20px;
   content: "\f046";
   color:#006600;
   position:absolute;
   margin-top:-15px;
   z-index:100;
   
}

#samp,#inClass,#animatecode,#setbgcode{display:none;}
.note-banner-view{ position:relative; min-height:100px;}
.incolor{width:1px;height:1px; visibility:hidden;}

#TsectionView,#TelemView,#TimgView,#TtextView,#TelseView{height:450px;overflow:auto;padding:5px;}

#TsectionView div,#TelemView div,#TimgView div,#TtextView div,#TelseView div{
counter-increment:advice!important;outline:#99CCFF dotted 1px;outline-offset:-1px!important;
}

#TsectionView section,#TelemView section,#TimgView section,#TtextView section,#TelseView section{counter-increment:advice!important;outline:#99CCFF dotted 1px!important;}


/*banner*/

.bannerdrag,.iresize{ position:absolute;}
#animatesetview .bannerdrag:hover{cursor:move;}
[contenteditable]:focus {outline:#33CCFF dotted 1px;}

.temp-img img.img,.temp-bimg img.bimg{height:75px;width:auto;max-width:150px;cursor:pointer;margin:5px;}


.note-banner-view .bannerdrag{user-modify:read-only;-webkit-user-modify:read-only; outline:none;}
[draggable="true"] { user-select: none;  -moz-user-select: none; -webkit-user-select: none;  -ms-user-select: none;}
.note-banner-input,.note-bgimage-url{ position:absolute;top:-500px; visibility:hidden;}




.note-aitemplate-view,.note-banner-view{ outline:none;max-width:100%;}
/*去除編輯器的自動加入的 span*/
#showAnimate{ font-family:Verdana; font-weight:bold; color:#333399;}
.note-aitemplate-view,.note-aitemplate-view p,.note-aitemplate-view span,.note-aitemplate-view img,note-aitemplate-view strong,note-aitemplate-view i,note-aitemplate-view b,note-aitemplate-view s
{ font:inherit;text-align:inherit;}


/*編輯鈕位置*/
.note-poptip-area{margin-left:-6px;padding:0;position:relative;}
.note-poptip-area-edit{ position:absolute;z-index:1000;opacity:0.8;}
.note-tempcode,.note-pastecode{white-space:nowrap;display:none;}

.note-editable.panel-body {overflow-y: scroll;}
.note-status-div,.note-status-output,#note-el-status{padding:2px 0 0 2px;height:auto!important;background-color:#EEEEEE!important}
.note-status-div.fixed{position:fixed;bottom:0px;z-index:1049;width:100%;min-height:45px!important;}
.note-animate-view,.note-setbg-view{min-height:150px;}

.modal-full{width:95%;max-width:1440px!important;}
.note-statusbar .pull-right{float:right!important;}
.note-margin-padding{width:220px!important;}
 .with-arrow .nav-link.active::after {
  content: '';
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #2b90d9;
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
}
.form-builder-dialog{ z-index:1100;}
/* lined tabs */

.lined .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease-in-out;
}

.lined .nav-link:hover {
  border: none;
  border-bottom: 3px solid transparent;
}

.lined .nav-link.active {
  background: none;
  color: #555;
  border-color: #2b90d9;
}
.modal-header .close{outline:none;}


/*tipcss*/
#tip{
 position:fixed;
 width:500px;
 top:20%;
 left:50%; 
 transform: translate(-50%, -50%);
 z-index:5005;

}

.alert {
  border-radius: 0;
  -webkit-border-radius: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.11);
  display: table;
  width:100%;

}

.alert-white {
  background-image: linear-gradient(to bottom, #fff, #f9f9f9);
  border-top-color: #d8d8d8;
  border-bottom-color: #bdbdbd;
  border-left-color: #cacaca;
  border-right-color: #cacaca;
  color: #404040;
  padding-left: 61px;
  position: relative;
}

.alert-white.rounded {
  border-radius: 3px;
  -webkit-border-radius: 3px;
}

.alert-white.rounded .icon {
  border-radius: 3px 0 0 3px;
  -webkit-border-radius: 3px 0 0 3px;
}

.alert-white .icon {
  text-align: center;
  width: 45px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid #bdbdbd;
  padding-top: 15px;
}


.alert-white .icon:after {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  display: block;
  content: '';
  width: 10px;
  height: 10px;
  border: 1px solid #bdbdbd;
  position: absolute;
  border-left: 0;
  border-bottom: 0;
  top: 50%;
  right: -6px;
  margin-top: -3px;
  background: #fff;
}

.alert-white .icon i {
  font-size: 20px;
  color: #fff;
  left: 12px;
  margin-top: -10px;
  position: absolute;
  top: 50%;
}
/*============ colors ========*/
.alert-success {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

.alert-white.alert-success .icon, 
.alert-white.alert-success .icon:after {
  border-color: #54a754;
  background: #60c060;
}

.alert-info {
  background-color: #d9edf7;
  border-color: #98cce6;
  color: #3a87ad;
}

.alert-white.alert-info .icon, 
.alert-white.alert-info .icon:after {
  border-color: #3a8ace;
  background: #4d90fd;
}


.alert-white.alert-warning .icon, 
.alert-white.alert-warning .icon:after {
  border-color: #d68000;
  background: #fc9700;
}

.alert-warning {
  background-color: #fcf8e3;
  border-color: #f1daab;
  color: #c09853;
}

.alert-danger {
  background-color: #f2dede;
  border-color: #e0b1b8;
  color: #b94a48;
}

.alert-white.alert-danger .icon, 
.alert-white.alert-danger .icon:after {
  border-color: #ca452e;
  background: #da4932;
}
#aiimage,#oldimage{width:100%;white-space:nowrap;overflow-x:auto!important;}
#aiimage img,#oldimage img{width:70px;height:70px;margin:5px;cursor:move; display:inline-block;}

#aitemptext b{color:#990000;}
#aitemptext h1.htext{color:#990000;}
#aitemptext i,#aitemptext span.itext{color:#006633;}
.imgactive{border:solid 2px #ff3300;}

.card-body .note-color-btn{width:20px;height:20px;padding:0;margin:0;border:solid 1px #fff;border-radius:0}
.card-body .note-color-btn:hover{transform:scale(1.2);transition:all .2s}

<!--顏色吸取器-->
.farbtastic {position: relative;}
.farbtastic * { position: absolute; cursor: crosshair;}
.farbtastic, .farbtastic .wheel {width: 195px;height: 195px;}
.farbtastic .color, .farbtastic .overlay {top: 47px;left: 47px;width: 101px;height: 101px;}
.farbtastic .wheel { background: url(wheel.png) no-repeat;width: 195px; height: 195px;}
.farbtastic .overlay {background: url(mask.png) no-repeat;}
.farbtastic .marker {width: 17px;height: 17px;margin: -8px 0 0 -8px; overflow: hidden; background: url(marker.png) no-repeat;}

/* 圖示編輯器工具列 */
#fe-icon-tooltip .toolbar-row {
    display: flex;
    gap: 5px;
    margin-bottom: 8px;
    align-items: center; /* 垂直置中 */
}

/* 搜尋框自動填滿剩餘空間 */
#fe-icon-search {
    flex-grow: 1; 
}

/* 通用按鈕樣式 */
.fe-style-btn {
    width: 32px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid #ced4da;
    background: #fff;
    border-radius: 3px;
    color: #555;
    position: relative; /* 為了定位內部的 color input */
    overflow: hidden;   /* 隱藏超出的 input */
}

.fe-style-btn:hover { background: #e9ecef; }
.fe-style-btn.active {
    background: #6c757d;
    color: #fff;
    border-color: #6c757d;
}

/* 隱藏原本的 color input，但讓它充滿整個按鈕並可點擊 */
.fe-color-input {
    position: absolute;
    left: -5px;
    top: -5px;
    width: 50px; /* 比按鈕大，確保點哪都中 */
    height: 50px;
    opacity: 0;  /* 透明 */
    cursor: pointer;
}

/* 下拉選單 */
.fe-style-select {
    width: auto;
    font-size: 12px;
    padding: 2px 5px;
    height: 31px;
}

#fe-icon-grid {
    display: grid; /* 關鍵：啟用網格佈局 */
    grid-template-columns: repeat(6, 1fr); /* 一排 6 個，自動填滿 */
    gap: 5px; /* 間距 */
    
    /* 捲動設定 */
    max-height: 250px;
    overflow-y: auto;
    
    /* 外觀美化 */
    padding: 8px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-top: 0;
}

/* 2. 單個圖示按鈕 */
.fe-icon-btn {
    display: flex; /* 讓圖示在格子裡垂直水平置中 */
    align-items: center;
    justify-content: center;
    height: 36px; /* 固定高度 */
    
    cursor: pointer;
    border-radius: 3px;
    border: 1px solid transparent;
    transition: all 0.1s;
    color: #555;
    font-size: 16px;
}

/* 3. 滑鼠移過去的效果 */
.fe-icon-btn:hover {
    transform: scale(1.2); /* 稍微放大 */
    color: #000;
    z-index: 1; /* 避免放大時被隔壁遮住 */
}

/* 4. 被選中的效果 */
.fe-icon-btn.active {
    background-color: #333;
    color: #fff;
    border-color: #000;
}

/* (選用) 美化捲軸 - Webkit 瀏覽器 */
#fe-icon-grid::-webkit-scrollbar { width: 6px; }
#fe-icon-grid::-webkit-scrollbar-track { background: #f1f1f1; }
#fe-icon-grid::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

/* 文字編輯器的圖示選擇視窗 */
#tool-icon-picker-panel {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    padding: 5px;
    border-radius: 4px;
    width: 220px;
    z-index: 10000;
}

/* 搜尋框 */
#tool-icon-search {
    width: 100%;
    margin-bottom: 5px;
    font-size: 13px;
    padding: 4px;
}

/* 圖示網格 */
#tool-icon-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 一排5個 */
    gap: 4px;
    max-height: 150px;
    overflow-y: auto;
}

.tool-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 14px;
    color: #333;
}

.tool-icon-btn:hover {
    background-color: #333;
	color:#fff;
}