﻿/*
 * If you prefer to host 'FontAwesome' on your server
@font-face {
    font-family: 'FontAwesome';
    src: url('https://cc.baw.com.cn:18344/webchat/resources/editor/css/fonts/fontawesome-webfont.eot?v=4.2.0');
    src: url('https://cc.baw.com.cn:18344/webchat/resources/editor/css/fonts/fontawesome-webfont.eot?') format('embedded-opentype'), url('https://cc.baw.com.cn:18344/webchat/resources/editor/css/fonts/fontawesome-webfont.woff?v=4.2.0') format('woff'), url('https://cc.baw.com.cn:18344/webchat/resources/editor/css/fonts/fontawesome-webfont.ttf?v=4.2.0') format('truetype'), url('https://cc.baw.com.cn:18344/webchat/resources/editor/css/fonts/fontawesome-webfont.svg?v=4.2.0') format('svg');
    font-weight: normal;
    font-style: normal;
}
*/
.wysiwyg-container {
    background: white none repeat scroll 0 0;
    border-top: 1px solid #dddddd;
    color: black;
    overflow: visible;
}
.wysiwyg-textarea {
    display: block;
    width: 100%;
    min-height: 1.5em;          /* should be equal to line-height */
    padding: 0;
    resize: none;
}
.wysiwyg-wrapper {
    position: relative;
}
.wysiwyg-editor {
    position: relative;
    height: 100px;      /* should be equal to line-height */
    padding: 4px 6px;
    overflow: auto;
    outline: none;
    color: #141824;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    max-height:100px;
}
.wysiwyg-toolbar {
    overflow: hidden;
    white-space: nowrap;
    padding: 0;
}
.wysiwyg-toolbar-top {
    border-bottom: 1px solid #dddddd;
}
.wysiwyg-toolbar-bottom {
    border-top: 1px solid #dddddd;
}
.wysiwyg-toolbar a {
    vertical-align: top;
}
.wysiwyg-placeholder {
    position: absolute;
    top: 4px;  /* same as padding in .wysiwyg-editor */
    left: 6px;
    opacity: 0.54;  /* https://developer.mozilla.org/de/docs/Web/CSS/%3A%3A-moz-placeholder */
}
.wysiwyg-popup {
    position: absolute;
    z-index: 9999;
    color: black;
    background: white;
    background: rgba(255,255,255,0.9);
    left: -50%;
    white-space: nowrap;
    border: 1px solid #dddddd;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    -moz-user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.wysiwyg-popup.wysiwyg-popuphover {
    margin-top: 9px;
    /*-moz-box-shadow: 0 3px 10px rgba(50,50,50,0.3);
    -webkit-box-shadow: 0 3px 10px rgba(50,50,50,0.3);
    box-shadow: 0 3px 10px rgba(50,50,50,0.3);*/
}
.wysiwyg-popup.wysiwyg-popuphover:after {
    position: absolute;
    left: 50%;
    bottom: 100%;
    border: solid transparent;
    content: '';
    width: 0;
    height: 0;
    margin-left: -8px;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 8px solid #dddddd;
}
.wysiwyg-toolbar-icon {
    display: -moz-inline-stack;
    display: inline-block;
    /* display: inline; */
    margin: 0;
   /*  padding: 0; */
    color: #999999;
    text-decoration: none;
    /* zoom: 1; */
    vertical-align: top;
    cursor: pointer;
    -moz-user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -ms-user-select: none;
    user-select: none;
   /* width: 16px;
    height: 16px; */
    padding: 8px 12px;
    font: 16px FontAwesome;
    -moz-transition: color 0.2s, background 0.2s;
    -webkit-transition: color 0.2s, background 0.2s;
    -ms-transition: color 0.2s, background 0.2s;
    -o-transition: color 0.2s, background 0.2s;
    transition: color 0.2s, background 0.2s;
}
.wysiwyg-toolbar-icon:hover {
    color: HighlightText;
    background-color: Highlight;
    text-decoration: none;
    -moz-transition: color 0.2s, background 0.2s;
    -webkit-transition: color 0.2s, background 0.2s;
    -ms-transition: color 0.2s, background 0.2s;
    -o-transition: color 0.2s, background 0.2s;
    transition: color 0.2s, background 0.2s;
}
.wysiwyg-toolbar-form {
    padding: 10px;
    white-space: nowrap;
    max-width: 330px;
}
.wysiwyg-toolbar-form .wysiwyg-toolbar-icon {
    margin-left: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
}
.wysiwyg-toolbar-color {
    width: 12px;
    height: 12px;
    cursor: pointer;
}
.wysiwyg-input {
    display: -moz-inline-stack;
    display: inline-block;
    *display: inline;
    color: #141824;
    background: none white;
    border: 1px solid #dddddd;
    width: 20em;
    height: 20px;
    padding: 5px 6px;  /* 8 - extraheight(2) - border(1) = 5 */
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    outline: none;
}
.wysiwyg-input.wysiwyg-inputtextarea {
    width: 100%;
    height: 5em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    resize: none;
}
.wysiwyg-input:hover,
.wysiwyg-input:active,
.wysiwyg-input:focus {
    border-color: #dddddd;
}
.wysiwyg-browse {
    position: relative;
    left: 0;
    top: 0;
    height: 180px;
    line-height: 180px;
    color: #666666;
    border: 2px dashed #dddddd;
    background-color: #f5f5f5;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
    cursor: pointer;
    z-index: 9;
}
.wysiwyg-browse:hover,
.wysiwyg-browse:active,
.wysiwyg-browse:focus {
    color: #141824;
    border-color: #dddddd;
}
.wysiwyg-embedcode {
    margin-bottom: 10px;
}
/* CSS for the smiley plugin */
.wysiwyg-plugin-smilies {
    padding: 10px;
    text-align: center;
    white-space: normal;
}
.wysiwyg-plugin-smilies img {
    display: -moz-inline-stack; /* inline-block: http://blog.mozilla.org/webdev/2009/02/20/cross-browser-inline-block/ */
    display: inline-block;
    *display: inline;
}
/* CSS for the font-name + font-size plugin */
.wysiwyg-plugin-list {
    max-height: 16em;
    overflow: auto;
    overflow-x: hidden;
    overflow-y: scroll;
}
.wysiwyg-plugin-list a,
.wysiwyg-plugin-list a:link,
.wysiwyg-plugin-list a:visited {
    display: block;
    color: black;
    padding: 5px 10px;
    text-decoration: none;
    cursor: pointer;
}
.wysiwyg-plugin-list a:hover {
    color: HighlightText;
    background-color: Highlight;
}
