.clear_float:before, .clear_float:after {
    content: " ";
    display: table
}

.clear_float:after {
    clear: both
}

*.ccm-content-editor-snippet {
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -ms-border-radius: 2px;
    border: 1px solid #eee;
    padding: 4px;
    display: inline-block;
    background-color: #FDFFCE;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif
}

div.ccm-panel-detail .redactor-editor, div.ui-dialog .redactor-editor {
    border: 1px solid #eee;
    background: white;
    padding: 10px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px
}

.ccm-block-edit-inline-active .redactor-box {
    background: transparent
}

.redactor-editor img {
    max-width: 100%;
    width: auto
}

.redactor-editor video, .redactor-editor img {
    height: auto
}

.redactor-editor table {
    border-collapse: collapse;
    min-width: 55px
}

.redactor-editor table td, .redactor-editor table th {
    padding: 5px;
    border: 1px solid #ddd;
    vertical-align: top
}

.redactor-editor table thead td, .redactor-editor table th {
    font-weight: bold;
    border-bottom-color: #888
}

.redactor-box {
    position: relative;
    overflow: visible
}

.redactor-box textarea {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow: auto;
    outline: none;
    border: none;
    background-color: #111;
    box-shadow: none;
    color: #ccc;
    font-size: 13px;
    font-family: Menlo, Monaco, monospace, sans-serif;
    resize: none
}

.redactor-box textarea:focus {
    outline: none
}

.redactor-editor, .redactor-box, .redactor-box textarea {
    z-index: auto
}

.redactor-box-fullscreen {
    z-index: 1051
}

.redactor-toolbar {
    z-index: 100
}

.redactor-dropdown {
    z-index: 1052
}

#redactor-modal-overlay, #redactor-modal-box, #redactor-modal {
    z-index: 1053
}

body .redactor-box-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%
}

.redactor-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll
}

.redactor-editor {
    position: relative;
    overflow: auto;
    outline: none;
    border: 1px solid #dedede
}

.redactor-editor:focus {
    outline: none
}

.redactor-placeholder:after {
    position: absolute;
    top: 20px;
    left: 20px;
    content: attr(placeholder);
    display: block;
    color: #999 !important;
    font-weight: normal !important
}

#redactor-dropdown-holder .dropdown-menu {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-top: 0px;
    z-index: 1350
}

.redactor-toolbar.ccm-inline-toolbar {
    background: none;
    box-shadow: none
}

.redactor-toolbar {
    position: relative;
    top: 0;
    left: 0;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    font-size: 14px !important;
    line-height: 1 !important;
    background: #fff;
    border: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2)
}

.redactor-toolbar.redactor-toolbar-overflow {
    overflow-y: auto;
    height: 29px;
    white-space: nowrap
}

.redactor-toolbar.redactor-toolbar-external {
    z-index: 999;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.1)
}

.redactor-toolbar li {
    vertical-align: top;
    display: inline-block;
    margin: 0 !important;
    padding: 0 !important;
    outline: none;
    list-style: none !important;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box
}

.redactor-toolbar li a {
    display: block;
    color: #333;
    text-align: center;
    padding: 9px 10px;
    outline: none;
    border: none;
    text-decoration: none;
    cursor: pointer;
    zoom: 1;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box
}

.redactor-toolbar li a:hover {
    outline: none;
    background-color: #1f78d8;
    color: #fff
}

.redactor-toolbar li a:hover i:before {
    color: #fff
}

.redactor-toolbar li a:active, .redactor-toolbar li a.redactor-act {
    outline: none;
    background-color: #ccc;
    color: #444
}

.redactor-toolbar li a.redactor-btn-image {
    width: 14px;
    height: 14px;
    background-position: center center;
    background-repeat: no-repeat
}

.redactor-toolbar li a.fa-redactor-btn {
    display: inline-block;
    padding: 9px 10px 8px 10px;
    line-height: 1
}

.redactor-toolbar li a.redactor-button-disabled {
    filter: alpha(opacity=30);
    -moz-opacity: .3;
    opacity: .3
}

.redactor-toolbar li a.redactor-button-disabled:hover {
    color: #333;
    outline: none;
    background-color: transparent !important;
    cursor: default
}

.redactor-toolbar li a.redactor-button-focus {
    color: #fff;
    background: #000
}

.redactor-box .CodeMirror {
    display: none
}

.re-icon {
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.re-icon i:before {
    position: relative;
    font-size: 14px
}

.redactor-toolbar-tooltip {
    position: absolute;
    z-index: 2000;
    text-align: center;
    top: 0;
    left: 0;
    background: #000;
    color: #fff;
    padding: 5px 8px;
    line-height: 1;
    font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif;
    font-size: 12px;
    border-radius: 2px
}

#redactor-image-box {
    position: relative;
    max-width: 100%;
    display: inline-block;
    line-height: 0;
    outline: 1px dashed rgba(0, 0, 0, 0.6)
}

#redactor-image-editter {
    position: absolute;
    z-index: 5;
    top: 50%;
    left: 50%;
    margin-top: -11px;
    margin-left: -18px;
    line-height: 1;
    background-color: #000;
    color: #fff;
    font-size: 11px;
    padding: 7px 10px;
    cursor: pointer
}

#redactor-image-resizer {
    position: absolute;
    z-index: 2;
    line-height: 1;
    cursor: nw-resize;
    bottom: -4px;
    right: -5px;
    border: 1px solid #fff;
    background-color: #000;
    width: 8px;
    height: 8px
}

.redactor-link-tooltip {
    position: absolute;
    z-index: 2000;
    padding: 10px;
    line-height: 1;
    display: inline-block;
    background-color: #000;
    color: #555 !important
}

.redactor-link-tooltip, .redactor-link-tooltip a {
    font-size: 12px;
    font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif
}

.redactor-link-tooltip a {
    color: #ccc;
    margin: 0 5px;
    text-decoration: none
}

.redactor-link-tooltip a:hover {
    color: #fff
}

#redactor-droparea {
    position: relative;
    overflow: hidden;
    padding: 140px 20px;
    border: 3px dashed rgba(0, 0, 0, 0.1)
}

#redactor-droparea.drag-hover {
    background: rgba(200, 222, 250, 0.75)
}

#redactor-droparea.drag-drop {
    background: rgba(250, 248, 200, 0.5)
}

#redactor-droparea-placeholder {
    text-align: center;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.7)
}

#redactor-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000000;
    height: 10px
}

#redactor-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #3d58a8;
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    -webkit-animation: progress-bar-stripes 2s linear infinite;
    -o-animation: progress-bar-stripes 2s linear infinite;
    animation: progress-bar-stripes 2s linear infinite;
    background-size: 40px 40px
}

@-webkit-keyframes progress-bar-stripes {
    from {
        background-position: 40px 0
    }
    to {
        background-position: 0 0
    }
}

@-o-keyframes progress-bar-stripes {
    from {
        background-position: 40px 0
    }
    to {
        background-position: 0 0
    }
}

@keyframes progress-bar-stripes {
    from {
        background-position: 40px 0
    }
    to {
        background-position: 0 0
    }
}

#redactor-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    margin: auto;
    overflow: auto;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 1200 !important
}

#redactor-modal-box {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow-x: hidden;
    overflow-y: auto;
    z-index:1300;
}

#redactor-modal {
    outline: 0;
    position: relative;
    margin: auto;
    margin-bottom: 20px;
    padding: 0;
    background: #fff;
    color: #000;
    font-size: 14px !important;
    font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif;
    border: 1px solid #a9b7c2;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -ms-border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    outline: medium none;
    -webkit-transform: translate3d(0, 0, 0)
}

#redactor-modal header {
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    padding: 19px 26px 19px 26px;
    font-size: 18px;
    line-height: 18px;
    background-image: -webkit-linear-gradient(top, #fff 0, #e3e3e3 100%);
    background-image: linear-gradient(to bottom, #fff 0, #e3e3e3 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe3e3e3', GradientType=0);
    border-bottom: 1px solid #ccc;
    color: #404040;
    font-weight: bold;
    text-overflow: ellipsis;
    overflow: hidden
}

#redactor-modal section {
    padding: 20px 30px
}

#redactor-modal-tabber {
    margin-bottom: 15px
}

#redactor-modal #redactor-modal-list {
    margin-left: 0;
    padding-left: 0;
    list-style: none;
    max-height: 250px;
    overflow-x: auto
}

#redactor-modal #redactor-modal-list li {
    border-bottom: 1px solid #ddd
}

#redactor-modal #redactor-modal-list li:last-child {
    border-bottom: none
}

#redactor-modal #redactor-modal-list a {
    padding: 10px 5px;
    color: #000;
    text-decoration: none;
    font-size: 13px;
    display: block;
    position: relative
}

#redactor-modal #redactor-modal-list a:hover {
    background-color: #eee
}

#redactor-modal-close button {
    outline: none !important;
    position: absolute;
    opacity: 0.5;
    right: 17px;
    top: 15px;
    background: none;
    border-width: 0;
    border: none;
    box-shadow: none
}

#redactor-modal-close button:hover {
    opacity: 0.9
}

#redactor-modal footer {
    padding: 19px 26px 19px 26px;
    border-top: 1px solid #c6d0d6
}

#redactor-modal footer:after {
    content: "";
    display: table;
    clear: both
}

#redactor-modal footer button.pull-right {
    margin-left: 10px
}

#redactor-modal footer button.pull-left {
    margin-right: 10px
}

.redactor-dropdown .redactor-formatting-blockquote {
    color: rgba(0, 0, 0, 0.4);
    font-style: italic
}

.redactor-dropdown .redactor-formatting-pre {
    font-family: monospace, sans-serif
}

.redactor-dropdown .redactor-formatting-h1 {
    font-size: 36px;
    line-height: 36px;
    font-weight: bold
}

.redactor-dropdown .redactor-formatting-h2 {
    font-size: 24px;
    line-height: 36px;
    font-weight: bold
}

.redactor-dropdown .redactor-formatting-h3 {
    font-size: 21px;
    line-height: 30px;
    font-weight: bold
}

.redactor-dropdown .redactor-formatting-h4 {
    font-size: 18px;
    line-height: 26px;
    font-weight: bold
}

.redactor-dropdown .redactor-formatting-h5 {
    font-size: 16px;
    line-height: 23px;
    font-weight: bold
}