@charset "UTF-8";

.clearfix {
    *zoom: 1;
}

.clearfix:before,
.clearfix:after {
    display: table;
    line-height: 0;
    content: "";
}

.clearfix:after {
    clear: both;
}

.osc-editor,
.osc-editor * {
    box-sizing: border-box;
}
.osc-editor {
    padding: 0;
    position: relative;
    z-index: 1;
}
.osc-editor[disabled]:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: rgba(255,255,255,.5);
}
.osc-editor > textarea {
    display: none;
}
.osc-editor > .edit-area {
    outline: none;
}
.osc-editor > .edit-area > [placeholder]:not(pre):not(blockquote):not(table):not(ul):not(ol):first-child:before {
    content: attr(placeholder);
    color: #ddd;
    font-size: inherit;
    font-weight: normal;
}
.osc-editor[box-mode] > .edit-area {
    padding: 25px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #ddd;
}

.osc-editor-node-path ul {
    list-style-type: none;
    white-space: nowrap;
    padding: 7px 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    margin: 0;
    height: 30px;
}
.osc-editor-node-path li {
    display: inline-block;
}
.osc-editor-node-path li:not(:last-child):after {
    content: '\f101';
    font: normal normal normal 14px/1 FontAwesome;
    margin: 0 10px;
}
.osc-editor-node-path span {
    cursor: pointer;
    vertical-align: 1px;
}
.osc-editor-node-path span:hover {
    text-decoration: underline;
    color: #0093f1;
}


.osc-editor-sidebar {
    display: none;
    position: absolute;
    padding-right: 10px;
    z-index: 6;
}
.osc-editor-sidebar > ul {
    list-style-type: none;
    margin: 0;
    padding: 5px;
    white-space: nowrap;
}
.osc-editor-sidebar > ul > li {
    display: inline-block;
    position: relative;
}
.osc-editor-sidebar > ul > li + li {
    margin-left: 5px;
}
.osc-editor-sidebar > ul > li > svg {
    display: block;
    width: 28px;
    height: 31px;
    color: #999;
    padding: 5px;
    cursor: pointer;
    text-align: center;
}
.osc-editor-sidebar > ul > li:hover > svg {
    color: #333;
}
.osc-editor-sidebar > ul > li > div {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    display: none;
}
.osc-editor-sidebar > ul > li > div > ul {
    list-style-type: none;
    background: #fff;
    margin: 0;
    padding: 5px;
    border: 1px solid #bbb;
    box-shadow: 0 0 3px rgba(0,0,0,.35);
    white-space: nowrap;
}
.osc-editor-sidebar > ul > li > div > ins:before,
.osc-editor-sidebar > ul > li > div > ins:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-top: 8px solid #aaa;
    position: absolute;
    top: 100%;
    left: calc(50% - 8px);
}
.osc-editor-sidebar > ul > li > div > ins:after {
    border-top: 8px solid #fff;
    top: initial;
    bottom: -14px;
    z-index: 2;
}
.osc-editor-sidebar > ul > li:hover > div {
    display: block;
}
.osc-editor-sidebar > ul > li:hover > div:before {
    content: '';
    display: block;
    width: 100%;
    height: 20px;
    position: absolute;
    bottom: -20px;
    left: 0;
}
.osc-editor-sidebar > ul > li >  div > ul > li {
    padding: 4px;
    display: inline-block;
    vertical-align: middle;
}
.osc-editor-sidebar > ul > li > div > ul > li.separate {
    border-left: 1px solid #ddd;
    padding: 0;
    margin: 0 10px;
    height: 25px;
}


.osc-editor-popupbar {
    position: absolute;
    display: none;
    padding: 8px 0;
    z-index: 5;
}
.osc-editor-popupbar > .arrow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-top: 8px solid #bbb;
}
.osc-editor-popupbar > .arrow:before {
    content: '';
    display: block;
    position: absolute;
    top: -10px;
    left: -8px;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-top: 8px solid #fff;
}
.osc-editor-popupbar.bottom > .arrow {
    top: -8px;
    bottom: initial;
    border-top: 8px solid transparent;
    border-bottom: 8px solid #bbb;
}
.osc-editor-popupbar.bottom > .arrow:before {
    top: initial;
    bottom: -10px;
    left: -8px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid #fff;
}
.osc-editor-popupbar > ul {
    list-style-type: none;
    background: #fff;
    margin: 0;
    padding: 5px;
    border: 1px solid #bbb;
    box-shadow: 0 0 3px rgba(0,0,0,.35);
    white-space: nowrap;
}
.osc-editor-popupbar > ul > li {
    padding: 4px;
    display: inline-block;
    vertical-align: middle;
}
.osc-editor-popupbar > ul > li.separate {
    border-left: 1px solid #ddd;
    padding: 0;
    margin: 0 10px;
    height: 25px;
}

.osc-editor-topbar {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #f8f8f8;
    border-bottom: 1px solid #ddd;
    z-index: 11;
}
.osc-editor-bottombar {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: #f8f8f8;
    border: 1px solid #ddd;
    z-index: 10;
}
.osc-editor-commandbar {
    background: #f8f8f8;
    border: 1px solid #ddd;
    z-index: 5;
    position: relative;
}
.osc-editor-commandbar:last-child {
    border-bottom: 0;
}
.osc-editor-commandbar ul {
    padding: 0;
    margin: 0;
}
.osc-editor-commandbar > ul {
    list-style-type: none;
    border-bottom: 1px solid #ddd;
    padding: 0 10px;
}
.osc-editor-commandbar > ul:last-child {border-bottom: 0}
.osc-editor-commandbar > ul > li {
    float: left;
    padding: 6px 4px;
    height: 38px;
}
.osc-editor-commandbar > ul > li.align-right {
    float: right;
}
.osc-editor-commandbar > ul > li.separate {
    border-left: 1px solid #ddd;
    padding: 0;
    margin: 0 10px;
}
.osc-editor-cmd {
    font-size: 19px;
    color: #666;
    cursor: pointer;
    text-align: center;
    position: relative;
    min-width: 30px;
    border-radius: 1px;
}
.osc-editor-cmd svg {
    height: 16px;
}
.osc-editor-cmd.active, 
.osc-editor-cmd > div.active {
    color: #0093f1;
}
.osc-editor-cmd > div {
    padding: 5px;
}
.osc-editor-cmd:hover {
    box-shadow: 0 0 0 1px rgba(0,0,0,.15);
    background: #efefef;
}
.osc-editor-cmd-menu > div {
    display: inline-block;
}
.osc-editor-cmd-menu-toggler {
    width: 21px;
}
.osc-editor-cmd-menu-toggler > svg {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    padding: 6px;
    height: 100%;
    padding-top: 9px;
}
.osc-editor-cmd-menu-toggler:hover > svg {
    box-shadow: 0 0 0 1px rgba(0,0,0,.15);
}
.osc-editor-cmd-menu :hover > ul {
    display: block;
}
.osc-editor-cmd-menu ul {
    position: absolute;
    list-style-type: none;
    width: auto;
    border: 1px solid #aaa;
    background: #fff;
    display: none;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.25);
    border-radius: 1px;
    top: -1px;
    left: calc(100% + 4px);
}
.osc-editor-cmd-menu-toggler > ul {
    top: calc(100% + 3px);
    left: -1px;
    z-index: 1;
}
.osc-editor-cmd-menu-toggler > ul > li:first-child:before {
    content: '';
    position: absolute;
    height: 5px;
    width: 100%;
    background: transparent;
    bottom: 100%;
    left: 0;
}
.osc-editor-cmd-menu li {
    display: block;
    position: relative;
}
.osc-editor-cmd-menu li:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 100%;
    background: #f5f5f5;
}
.osc-editor-cmd-menu li > div {
    white-space: nowrap;
    padding: 7px 25px 7px 45px;
    position: relative;
    z-index: 2;
    text-align: left;
    font-size: 15px;
}
.osc-editor-cmd-menu li .osc-editor-cmd > svg {
    height: 14px;
    position: absolute;
    top: 50%;
    left: 0;
    width: 30px;
    transform: translate(0,-50%);
    text-align: center;
}
.osc-editor-cmd-menu li > svg {
    height: 14px;
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translate(0,-50%);
    z-index: 3;
}
.osc-editor-cmd-menu li > ul:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: -5px;
    width: 5px;
    height: 100%;
    background: transparent;
}





.osc-editor-disable-page {
    overflow: hidden;
}
.osc-editor-disable-page:after {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: rgba(0,0,0,.5);
}



.osc-editor-win-frm {
    box-sizing: border-box;
    padding: 15px;
    max-width: 100vw !important;
    font-family: Tahoma;
    font-size: 12px;
    line-height: 1.5;
}
.osc-editor-win-frm input[type="text"],
.osc-editor-win-frm select,
.osc-editor-win-frm textarea {
    outline: none;
    width: 100%;
    padding: 7px;
    border: 1px solid #aaa;
    resize: none;
    display: inline-block;
    font-weight: normal;
    box-sizing: border-box;
}
.osc-editor-win-frm textarea {
    height: 100px;
}
.osc-editor-win-frm .input-wrap {
    position: relative;
    margin-bottom: 10px;
}
.osc-editor-win-frm .input-wrap[disabled]:after{
    content: '';
    background: rgba(255,255,255,.75);
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
.osc-editor-win-frm .input-checkbox {
    position: relative;
    margin-bottom: 10px;
}
.osc-editor-win-frm .input-checkbox input {
    vertical-align: -2px;
    margin-right: 3px;
    cursor: pointer;
}
.osc-editor-win-frm .input-checkbox label {
    cursor: pointer;
    display: inline-block !important;
    margin: 0 !important;
}
.osc-editor-win-frm .msg {
    margin-bottom: 10px;
}
.osc-editor-win-frm .msg.red {
    color: #bd0000;
}
.osc-editor-win-frm label {
    font-weight: bold;
    box-sizing: border-box;
}
.osc-editor-win-frm label:not(.inline) {
    margin-bottom: 10px;
    display: block;
}
.osc-editor-win-frm > .action-bar {
    padding: 10px 15px;
    background: #f0f0f0;
    border-top: 1px solid #ccc;
    text-align: right;
    width: calc(100% + 30px);
    position: relative;
    top: 15px;
    left: -15px;
    box-sizing: border-box;
}
.osc-editor-win-frm > .action-bar button,
.osc-editor-win-frm > .action-bar .btn {
    display: inline-block;
    border: 1px solid #ccc;
    background: #fff;
    padding: 7px 15px;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
    height: auto;
    line-height: normal;
    vertical-align: middle;
    font-size: 12px;
    font-weight: bold;
}
.osc-editor-win-frm > .action-bar button[disabled],
.osc-editor-win-frm > .action-bar .btn[disabled] {
    padding-right: 40px;
    cursor: default;
}
.osc-editor-win-frm > .action-bar button[disabled]:before,
.osc-editor-win-frm > .action-bar .btn[disabled]:before {
    content: '';
    display: block;
    position: absolute;
    top: -1px;
    left: -1px;
    background: rgba(255,255,255,.5);
    width: calc(100% + 2px);
    height: calc(100% + 2px);
}
.osc-editor-win-frm > .action-bar button[disabled]:after,
.osc-editor-win-frm > .action-bar .btn[disabled]:after {
    content: '';
    display: block;
    position: absolute;
    top: calc((100% - 16px)/2);
    right: 10px;
    background: url(../../../image/default/core/preloader/2/preloader_2_16.gif) center center no-repeat;
    background-size:contain;
    width: 16px;
    height: 16px;
}
.osc-editor-win-frm > .action-bar button + button,
.osc-editor-win-frm > .action-bar button + .btn,
.osc-editor-win-frm > .action-bar .btn + button,
.osc-editor-win-frm > .action-bar .btn + .btn {
    margin-left: 10px;
}
.osc-editor-win-frm > .action-bar button:not([disabled]):hover,
.osc-editor-win-frm > .action-bar .btn:not([disabled]):hover {
    border: 1px solid #aaa;
    background: #fafafa;
}
.osc-editor-win-frm > .action-bar button.blue-btn,
.osc-editor-win-frm > .action-bar .btn.blue-btn {
    border: 1px solid #0076ad;
    background: #1b91c8;
    color: #fff;
}
.osc-editor-win-frm > .action-bar button.blue-btn:not([disabled]):hover,
.osc-editor-win-frm > .action-bar .btn.blue-btn:not([disabled]):hover {
    background: #0076ad;
    border: 1px solid #0076ad;
}







.osc-editor-element-control {
    position: absolute;
    font-family: tahoma;
    font-size: 12px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(0,0,0,.15), 0 0 2px 1px rgba(0,0,0,.15);
    z-index: 999;
    top: 20px;
}

.osc-editor-element-control > ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}
.osc-editor-figure-align-bar:after {
    content: '';
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
}
.osc-editor-element-control > ul > li {
    vertical-align: middle;
    display: inline-block;
    font-size: 11px;
    padding: 7px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    position: relative;
    margin: 3px;
}
.osc-editor-element-control > ul > li svg {
    height: 14px;
}
.osc-editor-element-control > ul > li:not([disabled]):not(.separate):hover {
    background: #e5e5e5;
    color: #0093f1;
    border: 1px solid #ccc;
    padding: 6px;
    border-radius: 2px;
}
.osc-editor-element-control > ul > li[disabled] {
    color: #ddd;
    cursor: no-drop; 
}
.osc-editor-element-control > ul > li.separate {
    width: 1px;
    background: #ccc;
    padding: 0;
    height: 20px;
    margin: 7px 5px;
}


.osc-editor__highlight svg,
.osc-editor__text-color svg {
    height: 14px;
    margin-bottom: 4px;
}
.osc-editor__color-preview {
    display: block;
    width: 16px;
    height: 3px;
    background: #ddd;
    margin: auto;
    position: absolute;
    bottom: 5px;
    left: calc((100% - 16px)/2);
}