@charset "UTF-8";

/* Clearfix */
.xe-clearfix:before,
.xe-clearfix:after {
    content: " ";
    display: table;
}
.xe-clearfix:after {
    clear: both;
}

.xe-widget-wrapper {
    overflow: hidden;
}

/* Popup Menu Area */
#rhymix_popup_menu,
#popup_menu_area {
    position: absolute;
    z-index: 9999;
    margin: 10px 0;
    padding: 0;
    border: 1px solid #eeeeee;
    border-radius: 2px;
    font-size: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    background: #fff;
    min-width: 80px;
}
#rhymix_popup_menu ul,
#popup_menu_area ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#rhymix_popup_menu li,
#popup_menu_area li {
    margin: 0;
    padding: 0;
    line-height: 1.5;
}
#rhymix_popup_menu a,
#popup_menu_area a {
    display: block;
    padding: 5px;
    text-decoration: none;
    color: #212121;
}
#rhymix_popup_menu a:hover,
#rhymix_popup_menu a:active,
#rhymix_popup_menu a:focus,
#popup_menu_area a:hover,
#popup_menu_area a:active,
#popup_menu_area a:focus {
    background: #eeeeee;
    outline: none;
}

@media screen and (max-width: 400px) {
    #rhymix_popup_menu,
    #popup_menu_area {
        min-width: 120px;
        max-width: 95%;
        font-size: 13px;
    }
    #rhymix_popup_menu a,
    #popup_menu_area a {
        display: block;
        padding: 10px;
        text-decoration: none;
        color: #212121;
    }
}

/* Editable Preview */
.editable_preview {
    width: 100%;
    min-height: 240px;
    max-height: 440px;
    box-sizing: border-box;
    margin: 0;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    overflow-y: auto;
    cursor: text;
}
.editable_preview p {
    margin-bottom: var(--default-paragraph-spacing, 1em) !important;
}

.editable_preview_iframe {
    width: 100%;
    height: 440px;
    box-sizing: border-box;
    margin: 0 0 -4px 0;
    padding: 0;
    border: 0;
}

/* alert */
#rhymix_alert {
    display: none;
    position: fixed;
    left: 50%;
    bottom: 20%;
    min-width: 250px;
    max-width: 500px;
    background-color: #000;
    color: #fff;
    font-size: 16px;
    text-align: center;
    opacity: 0.6;
    padding: 12px 20px;
    border: 1px solid #fff;
    border-radius: 10px;
    transform: translateX(-50%);
    z-index: 999999999;
}

/* Debug */
#rhymix_debug_button {
    display: none;
    position: fixed;
    left: 0;
    bottom: 40px;
    background: #eeeeee;
    background: linear-gradient(to bottom, #f4f4f4 0%, #eaeaea 100%);
    border: 1px solid #ccc;
    border-left: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.18), 0 0 6px 0 rgba(0, 0, 0, 0.12);
    z-index: 1073741824;
}
#rhymix_debug_button.visible {
    display: block;
}
@media print {
    #rhymix_debug_button.visible {
        display: none;
    }
}
#rhymix_debug_button:hover {
    background: #dddddd;
    background: linear-gradient(to bottom, #e8e8e8 0%, #d9d9d9 100%);
}
#rhymix_debug_button a {
    display: block;
    font: bold 12px/14px Arial, sans-serif;
    color: #444;
    text-decoration: none;
    padding: 4px 8px;
}
#rhymix_debug_button a.has_errors {
    color: #f44336;
}

#rhymix_debug_panel {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    max-width: 100%;
    height: 100%;
    overflow-y: scroll;
    background: #fcfcfc;
    box-sizing: border-box;
    border-right: 1px solid #ccc;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
    z-index: 1073741824;
}

#rhymix_debug_panel .debug_header {
    clear: both;
    width: 100%;
    height: 36px;
    background: #444444;
    background: linear-gradient(to right, #222222 0%, #444444 40%, #eeeeee 100%);
    position: relative;
}
#rhymix_debug_panel .debug_header h2 {
    font: bold 16px/20px Arial, sans-serif;
    color: #fcfcfc;
    position: absolute;
    left: 10px;
    top: 10px;
    margin: 0;
    padding: 0;
}
#rhymix_debug_panel .debug_header .debug_maximize {
    font: normal 20px/24px Arial, sans-serif;
    text-decoration: none;
    color: #444444;
    position: absolute;
    right: 32px;
    top: 6px;
}
#rhymix_debug_panel .debug_header .debug_close {
    font: normal 28px/28px Arial, sans-serif;
    text-decoration: none;
    color: #444444;
    position: absolute;
    right: 10px;
    top: 4px;
}
#rhymix_debug_panel .debug_header .debug_close:hover {
    color: #f44336;
}

#rhymix_debug_panel .debug_page {
    clear: both;
    margin: 12px 10px;
    font: normal 12px/16px Arial, NanumBarunGothic, NanumGothic, "Malgun Gothic", sans-serif;
}
#rhymix_debug_panel .debug_page .debug_page_header {
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
    position: relative;
    cursor: pointer;
}
#rhymix_debug_panel .debug_page .debug_page_header h3 {
    color: #444;
    font: inherit;
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    padding: 0;
}
#rhymix_debug_panel .debug_page .debug_page_header h3 .error_count {
    display: inline-block;
    margin-left: 6px;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 12px;
    line-height: 12px;
    background: #f44336;
    color: #ffffff;
}

#rhymix_debug_panel .debug_page .debug_page_collapse {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    color: #999;
    font-size: 10px;
    line-height: 12px;
    text-decoration: none;
    padding: 2px 2px;
}

#rhymix_debug_panel .debug_page .debug_page_body {
    margin: 8px 4px 8px 10px;
}
#rhymix_debug_panel .debug_page .debug_page_body h4 {
    color: #444;
    font: inherit;
    font-size: 13px;
    font-weight: bold;
    margin: 0 0 8px 0;
    padding: 0;
}

#rhymix_debug_panel .debug_page .debug_entry {
    font-family: Consolas, "Courier New", monospace;
    color: #444;
    margin-left: 38px;
    margin-bottom: 8px;
    text-indent: -28px;
    word-wrap: break-word;
    word-break: break-all;
}
#rhymix_debug_panel .debug_page .debug_entry.pre_wrap {
    white-space: pre-wrap;
}

#rhymix_debug_panel .debug_page .debug_entry ul.debug_metadata {
    margin: 0 0 0 -16px;
    padding: 0;
}
#rhymix_debug_panel .debug_page .debug_entry ul.debug_metadata li {
    list-style: disc;
    margin: 0;
    padding: 0;
    text-indent: 0;
}

#rhymix_debug_panel .debug_page .debug_entry ul.debug_backtrace {
    margin: 4px 0 0 16px;
    padding: 0;
}
#rhymix_debug_panel .debug_page .debug_entry ul.debug_backtrace li {
    list-style: disc;
    margin: 0;
    padding: 0;
    text-indent: 0;
    color: #888;
}
#rhymix_debug_panel .debug_page .debug_entry ul.debug_backtrace li ul {
    padding-left: 20px;
}
#rhymix_debug_panel .debug_page .debug_entry ul.debug_backtrace li ul li {
    list-style: circle;
}

/* Button (for XE compatibility) */
/* btnArea */
.btnArea,
.rhymix_button_wrapper {
    clear: both;
    margin: 10px 0;
    padding: 0;
    text-align: right;
}
.btnArea:after,
.rhymix_button_wrapper:after {
    clear: both;
    display: block;
    content: "";
}

/* btn */
.btn,
.rhymix_button {
    display: inline-block;
    margin: 0;
    padding: 0 12px !important;
    height: 24px !important;
    overflow: visible;
    border: 1px solid #bbbbbb;
    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);
    border-bottom-color: #a2a2a2;
    border-radius: 2px;
    text-decoration: none !important;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    vertical-align: top;
    line-height: 24px !important;
    font-family: inherit;
    font-size: 12px;
    color: #333333;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -webkit-gradient(top, #ffffff, #e6e6e6);
    background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: linear-gradient(top, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
.btn:hover,
.btn:active,
.btn[disabled],
.rhymix_button:hover,
.rhymix_button:active,
.rhymix_button[disabled] {
    color: #333;
    background-color: #e6e6e6;
}

.btn > a,
.btn > button,
.btn > input,
.btn > span,
.rhymix_button > a,
.rhymix_button > button,
.rhymix_button > input,
.rhymix_button > span {
    display: inline-block;
    margin: 0 -12px !important;
    padding: 0 12px !important;
    overflow: visible;
    width: auto;
    height: 24px;
    border: 0;
    vertical-align: top;
    text-decoration: none !important;
    line-height: 24px;
    font-family: inherit;
    font-size: 12px;
    color: #333;
    cursor: pointer;
    background: none;
}

input.btn,
button.btn,
input.rhymix_button,
button.rhymix_button {
    height: 26px !important;
}

/* btnGroup */
.btn-group {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    vertical-align: middle;
    font-size: 0;
}
.btn-group + .btn-group {
    margin-left: 5px;
}
.btn-group > .btn,
.btn-group > .rhymix_button {
    position: relative;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
.btn-group > .btn + .btn,
.btn-group > .rhymix_button + .rhymix_button,
.btn-group > .btn + .rhymix_button,
.btn-group > .rhymix_button + .btn {
    margin-left: -1px;
}
.btn-group > .btn:first-child,
.btn-group > .rhymix_button:first-child {
    margin-left: 0;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-bottom-left-radius: 4px;
    -webkit-border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    border-top-left-radius: 4px;
}
.btn-group > .btn:last-child,
.btn-group > .rhymix_button:last-child {
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    border-bottom-right-radius: 4px;
}
.btn-group > .btn:hover,
.btn-group > .btn:focus,
.btn-group > .btn:active,
.btn-group > .btn.active,
.btn-group > .rhymix_button:hover,
.btn-group > .rhymix_button:focus,
.btn-group > .rhymix_button:active,
.btn-group > .rhymix_button.active {
    z-index: 2;
}

/* Message (for XE compatibility) */
.message,
.rhymix_message {
    position: relative;
    margin: 1em 0;
    padding: 0 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
    line-height: 1.4;
    font-size: 13px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    background-color: #f8f8f8;
}
.message p,
.rhymix_message p {
    margin: 1em 0 !important;
}

.message.info,
.rhymix_message.info {
    border-color: #BCE8F1;
    color: #3A87AD;
    background-color: #D9EDF7;
}
.message.error,
.rhymix_message.error {
    border-color: #EED3D7;
    color: #B94A48;
    background-color: #F2DEDE;
}
.message.update,
.rhymix_message.update {
    border-color: #D6E9C6;
    color: #468847;
    background-color: #DFF0D8;
}
body > .message,
body > .rhymix_message {
    margin: 1em;
}
