.cke_panel_container {
    font-size: 12px;
}

.moto-cke-background {
    background-color: #f0f4f8;
}

.moto-cke-background_dark {
    background-color: #414141;
}

.cke_panel_container, .cke_colorblock, .cke_combo .cke_combo_text, .cke_dialog_body .cke_dialog_title, .cke_dialog_body .cke_dialog_ui_button {
    font-family: "Open Sans", sans-serif;
}

.moto-spectrum-dialog .sp-container {
    position: relative;
    vertical-align: bottom;
    background-color: inherit;
    border: none;
    box-shadow: none;
    padding: 0;
}

.moto-spectrum-dialog input.sp-input {
    border: 1px solid #d1d1d1;
    color: #474747;
    background-color: #fff;
}

.moto-spectrum-dialog .sp-initial {
    border: 1px solid #d1d1d1;
    -webkit-box-shadow: inset 0 0 0 1px #fff;
    box-shadow: inset 0 0 0 1px #fff;
}

.moto-spectrum-dialog .sp-hue {
    border: 1px solid #d1d1d1;
    -webkit-box-shadow: inset 0 0 0 1px #fff;
    box-shadow: inset 0 0 0 1px #fff;
    overflow: hidden;
}

.moto-spectrum-dialog .sp-color {
    border: 1px solid #d1d1d1;
    -webkit-box-shadow: inset 0 0 0 1px #f8f8f8;
    box-shadow: inset 0 0 0 1px #f8f8f8;
}

.moto-spectrum-dialog .sp-hue .sp-slider {
    position: absolute;
    top: 0;
    cursor: pointer;
    height: 12px;
    left: -10px;
    right: -10px;
}

.moto-spectrum-dialog .sp-picker-container, .moto-spectrum-dialog .cke_dialog_ui_vbox_child {
    margin: 0;
    padding: 0;
}

.moto-spectrum-dialog .sp-labels {
    display: none;
}

.moto-spectrum-dialog .cke_dialog_contents_body {
    background-color: #f8f8f8;
    position: relative;
    padding: 10px;
    margin: 0;
}

.moto-spectrum-dialog .cke_dialog_contents_body:before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    pointer-events: none;
    border-top: 1px solid #d1d1d1;
    border-bottom: 1px solid #d1d1d1;
}

.moto-spectrum-dialog .cke_dialog_title, .moto-spectrum-dialog .cke_dialog_footer {
    border: 0;
}

.moto-spectrum-dialog .cke_dialog_body {
    width: 320px;
}

.moto-spectrum-dialog .cke_dialog_title {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px 30px 10px 12px;
    color: #434f53;
}

.moto-spectrum-dialog .cke_dialog_footer_buttons {
    margin: 7px 5px;
}

.moto-spectrum-dialog .cke_dialog_footer_buttons .cke_dialog_ui_hbox .cke_dialog_ui_hbox_first, .moto-spectrum-dialog .cke_dialog_footer_buttons .cke_dialog_ui_hbox .cke_dialog_ui_hbox_last {
    padding-right: 10px;
}

.moto-spectrum-dialog a.cke_dialog_ui_button, .moto-spectrum-dialog a.cke_dialog_ui_button:focus, .moto-spectrum-dialog a.cke_dialog_ui_button:active {
    padding: 4px 13px;
    border: 0;
}

.moto-spectrum-dialog .cke_dialog_footer a.cke_dialog_ui_button span {
    padding: 0;
}

.moto-spectrum-dialog .cke_dialog_ui_button_ok {
    text-shadow: 0 1px 0 #45a300;
    color: #fff;
    box-shadow: 0 1px 0 #45a300, inset 0 1px 0 #76e026;
    background-color: #66c41e;
}

.moto-spectrum-dialog .cke_dialog_ui_button_ok:hover, .moto-spectrum-dialog .cke_dialog_ui_button_ok:focus, .moto-spectrum-dialog .cke_dialog_ui_button_ok:active {
    box-shadow: 0 1px 0 #5ab216, inset 0 1px 0 #88e93e;
    background-color: #77d62d;
}

.moto-spectrum-dialog .cke_dialog_ui_button_cancel {
    text-shadow: 0 1px 0 rgba(233, 237, 247, .7);
    color: #4b5567;
    box-shadow: 0 1px 0 #b6bdcf, inset 0 1px 0 #dfe5f4;
    background-color: #d4dae9;
}

.moto-spectrum-dialog .cke_dialog_ui_button_cancel:hover, .moto-spectrum-dialog .cke_dialog_ui_button_cancel:focus, .moto-spectrum-dialog .cke_dialog_ui_button_cancel:active {
    box-shadow: 0 1px 0 #b6bdcf, inset 0 1px 0 #eef1f9;
    background-color: #e3e8f3;
}

.moto-spectrum-dialog .sp-input:focus, .cke_dialog_background_cover, .cke_editable {
    outline: 0;
}

.moto-spectrum-dialog .cke_dialog_footer .cke_dialog_ui_button {
    font-size: 13px;
    border: 0;
    border-radius: 3px;
    transition: .5s;
}

.moto-colorizer-dialog {
    overflow: hidden;
    background-color: #f8f8f8;
}

.moto-colorizer-dialog .moto-colorizer-content {
    width: 145px;
    margin: auto;
}

.moto-colorizer-dialog .moto-colorizer-content > div {
    white-space: nowrap;
    margin-bottom: 10px;
}

.moto-colorizer-dialog .custom-colors {
    border-top: 1px solid #d3d3d3;
    padding-top: 14px;
}

.moto-colorizer-dialog .custom-colors .button-color {
    float: left;
}

.moto-colorizer-dialog .default-color {
    padding-top: 4px;
}

.moto-colorizer-dialog .button-color {
    display: block;
    height: 25px;
    width: 25px;
    margin-bottom: 4px;
    margin-left: 2px;
    margin-right: 2px;
    border: 1px solid #d3d7d9;
    box-shadow: inset 0 0 0 1px #fff;
    border-radius: 3px;
    cursor: pointer;
    outline: 0;
}

.moto-colorizer-dialog .button-color_selected, .moto-colorizer-dialog .button-color:hover {
    border-color: #596775;
}

.moto-colorizer-dialog .box-colors {
    float: left;
}

.moto-colorizer-dialog .box-colorpicker {
    padding: 0 0 2px 0;
}

.moto-colorizer-dialog .clear {
    clear: both;
}

.moto-colorizer-dialog .moto-colorizer-link {
    text-decoration: none;
    color: #989da2;
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
    outline: 0;
}

.moto-colorizer-dialog .moto-colorizer-link:hover {
    text-decoration: underline;
}

.moto-colorizer-dialog .custom-colors .button-color {
    margin-bottom: 0;
}

.cke_combo__format .cke_combo_text, .cke_combo__cssstylecombo .cke_combo_text {
    width: 70px;
}

.cke_combo__fontsize .cke_combo_text {
    width: 22px;
}

@media screen and (max-width: 490px) {
    .moto-preview-mode_content .cke_top {
        padding: 6px 4px 2px;
    }

    .moto-preview-mode_content .cke_combo__cssstylecombo .cke_combo_text {
        width: 154px;
    }

    .moto-preview-mode_content .cke_combo__format .cke_combo_text {
        width: 104px;
    }

    .moto-preview-mode_content .cke_combo__fontsize .cke_combo_text {
        width: 50px;
    }
}

.moto-preview-mode_content .cke_inner {
    max-width: 492px;
}

@media (-ms-high-contrast: none), screen and (-ms-high-contrast: active) {
    .cke_editable .fa {
        pointer-events: none;
    }
}
