.custom-wysiwyg-editor div.editor-content {
	max-height: 250px;
	min-height: 250px;
	background-color: white;
	border-collapse: separate; 
	border: 1px solid rgb(204, 204, 204); 
	padding: 4px; 
	box-sizing: content-box; 
	-webkit-box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 1px 0px inset; 
	box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 1px 0px inset;
	border-top-right-radius: 3px; border-bottom-right-radius: 3px;
	border-bottom-left-radius: 3px; border-top-left-radius: 3px;
	overflow-y: auto;
	outline: none;
}

div[data-role="editor-toolbar"] {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.dropdown-menu a {
  cursor: pointer;
}

div[data-role="editor-toolbar"] .btn {
    display: inline-block;
    *display: inline;
    *zoom:1;padding: 4px 12px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    color: #333333;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *background-color: #e6e6e6;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    border: 1px solid #cccccc;
    *border: 0;
    border-bottom-color: #b3b3b3;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    *margin-left: .3em;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
}

div[data-role="editor-toolbar"] .btn-info {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #49afcd;
    background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));
    background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
    background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
    background-image: linear-gradient(to bottom, #5bc0de, #2f96b4);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0);
    border-color: #2f96b4 #2f96b4 #1f6377;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *background-color: #2f96b4;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

div[data-role="editor-toolbar"] .btn:hover,
div[data-role="editor-toolbar"] .btn:focus,
div[data-role="editor-toolbar"] .btn:active,
div[data-role="editor-toolbar"] .btn.active,
div[data-role="editor-toolbar"] .btn.disabled,
div[data-role="editor-toolbar"] .btn[disabled] {
    color: #333333;
    background-color: #e6e6e6;
    background-color: #d9d9d9;
}

div[data-role="editor-toolbar"] .btn:active,div[data-role="editor-toolbar"] .btn.active {
    background-color: #cccccc \9;
}

div[data-role="editor-toolbar"] .btn:first-child {
    margin-left: 0;
}

div[data-role="editor-toolbar"] .btn:hover,div[data-role="editor-toolbar"] .btn:focus {
    color: #333333;
    text-decoration: none;
    background-position: 0 -15px;
    -webkit-transition: background-position 0.1s linear;
    -moz-transition: background-position 0.1s linear;
    -o-transition: background-position 0.1s linear;
    transition: background-position 0.1s linear;
}

div[data-role="editor-toolbar"] .btn:focus {
    outline: thin dotted #333;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

div[data-role="editor-toolbar"] .btn.active,div[data-role="editor-toolbar"] .btn:active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
    -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
    box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
}

div[data-role="editor-toolbar"] .btn.disabled,div[data-role="editor-toolbar"] .btn[disabled] {
    cursor: default;
    background-image: none;
    opacity: 0.65;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

div[data-role="editor-toolbar"] .btn-large {
    padding: 11px 19px;
    font-size: 17.5px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

div[data-role="editor-toolbar"] .btn-large [class^="icon-"],div[data-role="editor-toolbar"] .btn-large [class*=" icon-"] {
    margin-top: 4px;
}

div[data-role="editor-toolbar"] .btn-small {
    padding: 2px 10px;
    font-size: 11.9px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

div[data-role="editor-toolbar"] .btn-small [class^="icon-"],div[data-role="editor-toolbar"] .btn-small [class*=" icon-"] {
    margin-top: 0;
}

div[data-role="editor-toolbar"] .btn-mini [class^="icon-"],div[data-role="editor-toolbar"] .btn-mini [class*=" icon-"] {
    margin-top: -1px;
}

div[data-role="editor-toolbar"] .btn-mini {
    padding: 0 6px;
    font-size: 10.5px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

div[data-role="editor-toolbar"] .btn-block {
    display: block;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

div[data-role="editor-toolbar"] .btn-block+.btn-block {
    margin-top: 5px;
}

div[data-role="editor-toolbar"] .btn-group {
    position: relative;
    display: inline-block;
    *display: inline;
    *zoom:1;font-size: 0;
    vertical-align: middle;
    white-space: nowrap;
    *margin-left: .3em;
}

div[data-role="editor-toolbar"] .btn-group:first-child {
    *margin-left: 0;
}

div[data-role="editor-toolbar"] .btn-group+.btn-group {
    margin-left: 5px;
}

div[data-role="editor-toolbar"] .btn-toolbar {
    font-size: 0;
    margin-top: 10px;
    margin-bottom: 10px;
}

div[data-role="editor-toolbar"] .btn-toolbar>.btn+.btn,
div[data-role="editor-toolbar"] .btn-toolbar>.btn-group+.btn,
div[data-role="editor-toolbar"] .btn-toolbar>.btn+.btn-group {
    margin-left: 5px;
}

div[data-role="editor-toolbar"] .btn-group>.btn {
    position: relative;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

div[data-role="editor-toolbar"] .btn-group>.btn+.btn {
    margin-left: -1px;
}

div[data-role="editor-toolbar"] .btn-group>.btn,
div[data-role="editor-toolbar"] .btn-group>.dropdown-menu,
div[data-role="editor-toolbar"] .btn-group>.popover {
    font-size: 14px;
}


div[data-role="editor-toolbar"] .btn-group .dropdown-toggle:active,
div[data-role="editor-toolbar"] .btn-group.open .dropdown-toggle {
    outline: 0;
}

div[data-role="editor-toolbar"] .btn-group>.btn+.dropdown-toggle {
    padding-left: 8px;
    padding-right: 8px;
    -webkit-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    -moz-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    *padding-top: 5px;
    *padding-bottom: 5px;
}

div[data-role="editor-toolbar"] .btn-group>.btn-mini+.dropdown-toggle {
    padding-left: 5px;
    padding-right: 5px;
    *padding-top: 2px;
    *padding-bottom: 2px;
}

div[data-role="editor-toolbar"] .btn-group>.btn-small+.dropdown-toggle {
    *padding-top: 5px;
    *padding-bottom: 4px;
}

div[data-role="editor-toolbar"] .btn-group>.btn-large+.dropdown-toggle {
    padding-left: 12px;
    padding-right: 12px;
    *padding-top: 7px;
    *padding-bottom: 7px;
}

div[data-role="editor-toolbar"] .btn-group.open .dropdown-toggle {
    background-image: none;
    -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
    -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
    box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
}

div[data-role="editor-toolbar"] .btn-group.open .btn.dropdown-toggle {
    background-color: #e6e6e6;
}

div[data-role="editor-toolbar"] .btn-group.open .btn-primary.dropdown-toggle {
    background-color: #0044cc;
}

div[data-role="editor-toolbar"] .btn-group.open .btn-warning.dropdown-toggle {
    background-color: #f89406;
}

div[data-role="editor-toolbar"] .btn-group.open .btn-danger.dropdown-toggle {
    background-color: #bd362f;
}

div[data-role="editor-toolbar"] .btn-group.open .btn-success.dropdown-toggle {
    background-color: #51a351;
}

div[data-role="editor-toolbar"] .btn-group.open .btn-info.dropdown-toggle {
    background-color: #2f96b4;
}

div[data-role="editor-toolbar"] .btn-group.open .btn-inverse.dropdown-toggle {
    background-color: #222222;
}

div[data-role="editor-toolbar"] .dropup,
div[data-role="editor-toolbar"] .dropdown {
    position: relative;
}

div[data-role="editor-toolbar"] .dropdown-toggle {
    margin-bottom: -3px;
}

div[data-role="editor-toolbar"] .dropdown-toggle:active,
div[data-role="editor-toolbar"] .open .dropdown-toggle {
    outline: 0;
}

div[data-role="editor-toolbar"] .btn .caret {
    margin-top: 8px;
    margin-left: 0;
}

div[data-role="editor-toolbar"] .caret {
    display: inline-block;
    width: 0;
    height: 0;
    vertical-align: top;
    border-top: 4px solid #000000;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    content: "";
}

div[data-role="editor-toolbar"] .dropdown .caret {
    margin-top: 8px;
    margin-left: 2px;
}

div[data-role="editor-toolbar"] .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    *border-right-width: 2px;
    *border-bottom-width: 2px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}

div[data-role="editor-toolbar"] .dropdown-menu.pull-right {
    right: 0;
    left: auto;
}

div[data-role="editor-toolbar"] .dropdown-menu .divider {
    *width: 100%;
    height: 1px;
    margin: 9px 1px;
    *margin: -5px 0 5px;
    overflow: hidden;
    background-color: #e5e5e5;
    border-bottom: 1px solid #ffffff;
}

div[data-role="editor-toolbar"] .dropdown-menu>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 20px;
    color: #333333;
    white-space: nowrap;
}

div[data-role="editor-toolbar"] .dropdown-menu>li>a:hover,
div[data-role="editor-toolbar"] .dropdown-menu>li>a:focus,
div[data-role="editor-toolbar"] .dropdown-submenu:hover>a,
div[data-role="editor-toolbar"] .dropdown-submenu:focus>a {
    text-decoration: none;
    color: #ffffff;
    background-color: #0081c2;
    background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
    background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
    background-image: -o-linear-gradient(top, #0088cc, #0077b3);
    background-image: linear-gradient(to bottom, #0088cc, #0077b3);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
}

div[data-role="editor-toolbar"] .dropdown-menu>.active>a,
div[data-role="editor-toolbar"] .dropdown-menu>.active>a:hover,
div[data-role="editor-toolbar"] .dropdown-menu>.active>a:focus {
    color: #ffffff;
    text-decoration: none;
    outline: 0;
    background-color: #0081c2;
    background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
    background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
    background-image: -o-linear-gradient(top, #0088cc, #0077b3);
    background-image: linear-gradient(to bottom, #0088cc, #0077b3);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
}

div[data-role="editor-toolbar"] .dropdown-menu>.disabled>a,
div[data-role="editor-toolbar"] .dropdown-menu>.disabled>a:hover,
div[data-role="editor-toolbar"] .dropdown-menu>.disabled>a:focus {
    color: #999999;
}

div[data-role="editor-toolbar"] .dropdown-menu>.disabled>a:hover,
div[data-role="editor-toolbar"] .dropdown-menu>.disabled>a:focus {
    text-decoration: none;
    background-color: transparent;
    background-image: none;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    cursor: default;
}

div[data-role="editor-toolbar"] .open {
    *z-index: 1000;
}

div[data-role="editor-toolbar"] .open>.dropdown-menu {
    display: block;
}

div[data-role="editor-toolbar"] .pull-right>.dropdown-menu {
    right: 0;
    left: auto;
}

div[data-role="editor-toolbar"] .dropup .caret,
div[data-role="editor-toolbar"] .navbar-fixed-bottom .dropdown .caret {
    border-top: 0;
    border-bottom: 4px solid #000000;
    content: "";
}

div[data-role="editor-toolbar"] .dropup .dropdown-menu,
div[data-role="editor-toolbar"] .navbar-fixed-bottom .dropdown .dropdown-menu {
    top: auto;
    bottom: 100%;
    margin-bottom: 1px;
}

div[data-role="editor-toolbar"] .dropdown-submenu {
    position: relative;
}

div[data-role="editor-toolbar"] .dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px 6px;
    border-radius: 0 6px 6px 6px;
}

div[data-role="editor-toolbar"] .dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

div[data-role="editor-toolbar"] .dropup .dropdown-submenu>.dropdown-menu {
    top: auto;
    bottom: 0;
    margin-top: 0;
    margin-bottom: -2px;
    -webkit-border-radius: 5px 5px 5px 0;
    -moz-border-radius: 5px 5px 5px 0;
    border-radius: 5px 5px 5px 0;
}

div[data-role="editor-toolbar"] .dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #cccccc;
    margin-top: 5px;
    margin-right: -10px;
}

div[data-role="editor-toolbar"] .dropdown-submenu:hover>a:after {
    border-left-color: #ffffff;
}

div[data-role="editor-toolbar"] .dropdown-submenu.pull-left {
    float: none;
}

div[data-role="editor-toolbar"] .dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

div[data-role="editor-toolbar"] .dropdown .dropdown-menu .nav-header {
    padding-left: 20px;
    padding-right: 20px;
}



.dropdown-menu>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 20px;
    color: #333333;
    white-space: nowrap;
}

.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus,.dropdown-submenu:hover>a,.dropdown-submenu:focus>a {
    text-decoration: none;
    color: #ffffff;
    background-color: #0081c2;
    background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
    background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
    background-image: -o-linear-gradient(top, #0088cc, #0077b3);
    background-image: linear-gradient(to bottom, #0088cc, #0077b3);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
}

.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus {
    color: #ffffff;
    text-decoration: none;
    outline: 0;
    background-color: #0081c2;
    background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
    background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
    background-image: -o-linear-gradient(top, #0088cc, #0077b3);
    background-image: linear-gradient(to bottom, #0088cc, #0077b3);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
}

.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus {
    color: #999999;
}

.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus {
    text-decoration: none;
    background-color: transparent;
    background-image: none;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    cursor: default;
}

.open {
    *z-index: 1000;
}

.open>.dropdown-menu {
    display: block;
}

.pull-right>.dropdown-menu {
    right: 0;
    left: auto;
}

.dropup .caret,.navbar-fixed-bottom .dropdown .caret {
    border-top: 0;
    border-bottom: 4px solid #000000;
    content: "";
}

.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu {
    top: auto;
    bottom: 100%;
    margin-bottom: 1px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropup .dropdown-submenu>.dropdown-menu {
    top: auto;
    bottom: 0;
    margin-top: 0;
    margin-bottom: -2px;
    -webkit-border-radius: 5px 5px 5px 0;
    -moz-border-radius: 5px 5px 5px 0;
    border-radius: 5px 5px 5px 0;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #cccccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #ffffff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.dropdown .dropdown-menu .nav-header {
    padding-left: 20px;
    padding-right: 20px;
}
