/* general font color/reset */
body .avpw *,
body .avpw a,
body .avpw a:link,
body .avpw a:hover,
body .avpw a:visited,
body .avpw a:active {
    color: #444;
}
/* dark background behind image */
.avpw .avpw_canvas_background {
    background: #E2E2E2;
}
/* dark background behind tools */
.avpw .avpw_inset_background {
    background: #E2E2E2;
}
/* brushed metal texture */
/* outermost widget body/parent */
body .avpw {
    background: #f0f0f0;
}
/* small icon inside an open tool */
.avpw .avpw_current_tool_icon {
    background: #f0f0f0;
}
/* popups that open within the widget */
.avpw .avpw_app_popup {
    background: white;
}
/* colorpicker popup */
.avpw .avpw_color_picker_container {
    background: white;
}
/* footer text */
.avpw .avpw_footer_text,
.avpw .avpw_footer_text a,
.avpw .avpw_footer_text a:link,
.avpw .avpw_footer_text a:visited,
.avpw .avpw_footer_text a:hover,
.avpw .avpw_footer_text a:active {
    color: #656565;
}
/* tool icons */
/* normal */
.avpw .avpw_tool_icon_image {
    background-color: #efefef;
}
/* hover */
.avpw .avpw_tool_icon:hover .avpw_tool_icon_image {
    background-color: #ffffff;
}
/* pressod */
.avpw .avpw_tool_icon_down .avpw_tool_icon_image,
.avpw .avpw_tool_icon_down:hover .avpw_tool_icon_image {
    background-color: #e2e2e2;
}
/* tools paging inidcator */
body .avpw .avpw_page {
    color: #3d3d3d;
}
body .avpw .avpw_page_selected {
    color: #00a5ff;
}
/* default buttons */
body .avpw .avpw_button {
    background: #efefef;
}
/* hover */
body .avpw .avpw_button:hover {
    background: #ffffff;
}
/* pressod */
body .avpw .avpw_button.avpw_button_down {
    background-color: #e2e2e2;
}
/* primary button
 * (overriding color on these links so
 * we have to be explicit)
 */
body .avpw .avpw_primary_button,
body .avpw .avpw_primary_button:link,
body .avpw .avpw_primary_button:visited,
body .avpw .avpw_primary_button:active {
    background-color: #0084cc;
    color: #ffffff;
}
/* +/- slider label/buttons */
body .avpw .avpw_slider_label {
    color: #707070;
}
/* darker, cut-out color */
.avpw .avpw_inset_background {
    background-color: #3e464a;
}
/* preset icons */
.avpw .avpw_preset_icon {
    border-left-color: #556066;
    border-right-color: #272c2e;
}
.avpw .avpw_preset_icon_active {
    background-color: #718087;
}
/* and light blue indicator */
.avpw .avpw_preset_icon_active .avpw_preset_indicator {
    background-color: #49edfc;
}
/* grouped push-buttons inside tools */
.avpw .avpw_inset_button {
    border-left-color: #556066;
    border-right-color: #272c2e;
}
/* hover */
.avpw .avpw_inset_button:hover {
    background-color: #3c4347;
}
/* pressod */
.avpw .avpw_inset_button_down {
    background: #272c2e;
}
/* text input fields */
body .avpw .avpw_text_input {
    background: #ffffff;
    color: #bcbec0;
}
/* focus */
body .avpw .avpw_text_input_focused {
    color: #3d3f40;
}
/* palette swapped on dark background */
.avpw .avpw_inset_background .avpw_text_input {
    background: #515b60;
}
/* focus */
.avpw .avpw_inset_background .avpw_text_input_focused {
    color: #ffffff;
}
/* labels palette swapped on dark background */
.avpw .avpw_inset_background .avpw_label {
    color: #ffffff;
}
/* frame icon */
/* 'off'/default state */
.avpw .avpw_inset_button .avpw_frame_toggle_icon {
    border-color: #717171;
}
/* 'on'/active state */
.avpw  .avpw_inset_button_active .avpw_frame_toggle_icon {
    border-color: #49c0fc;
}
/* lock icon */
/* 'unlocked'/default state */
.avpw .avpw_inset_button .avpw_lock_icon_top,
.avpw .avpw_inset_button .avpw_lock_icon_bottom {
    background: #a3a3a3;
}
/* 'locked'/down state */
.avpw .avpw_inset_button .avpw_lock_icon_top_inner,
.avpw .avpw_inset_button .avpw_lock_icon_sep {
    background: #383838;
}
/* 'locked'/active state */
.avpw .avpw_inset_button_active .avpw_lock_icon_top,
.avpw .avpw_inset_button_active .avpw_lock_icon_bottom {
    background: #49c0fc;
}

/* CKEDITOR */
#avpw_tool_content_header {
    font-weight: bold !important;
    font-size: 13px !important;
    cursor: move !important;
    color: #474747 !important;
    text-shadow: 0 1px 0 rgba(255,255,255,.75) !important;
    border-bottom: 1px solid #999 !important;
    padding: 6px 10px !important;
    border-radius: 2px 2px 0 0 !important;
    box-shadow: 0 1px 0 #fff inset !important;
    background: #cfd1cf !important;
    background-image: linear-gradient(to bottom,#f5f5f5,#cfd1cf) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf') !important;
    text-align: left !important;
}

#avpw_controls {
    border-radius: 2px !important;
}

#avpw_breadcrumb_header, #avpw_breadcrumb_toolname {
    font: normal normal normal 13px Arial,Helvetica,Tahoma,Verdana,Sans-Serif !important;
    text-shadow: 0 1px 0 rgba(255,255,255,.75) !important;
    font-weight: bold !important;
}

.avpw.avpw_main_mode {
    border: 1px solid #ccc !important;
    border-radius: 2px !important;
}

.avpw_close_button {
    border: 1px solid transparent !important;
    background-color: transparent !important;
}

.avpw_close_inner {
    background-image: url('ckeditor_close.png') !important;
    background-position: -2px -1px !important;
    background-repeat: no-repeat !important;
}

#avpw_logo {
    /* display: none !important; */
    /* margin-top: 12px !important; */
}

#avpw_logo:hover, #avpw_logo:focus, .avpw_cursor:hover, .avpw_cursor:focus {
    text-decoration: none !important;
    border-bottom: none !important;
}

.avpw_button,
.avpw_button.avpw_back_button,
.avpw_inset_button,
#avpw_resume_editing,
#avpw_close_nosave {
    border-radius: 4px !important;
    font-weight: bold !important;
    border: 1px solid #b6b6b6 !important;
    border-bottom-color: #999 !important;
    box-shadow: 0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset !important;
    background: #e4e4e4 !important;
    background-image: linear-gradient(to bottom,#fff,#e4e4e4) !important;
    color: #333 !important;
    text-shadow: 0 1px 0 #fff !important;
}

.avpw_inset_button {
    border-radius: 0 !important;
    border-left-width: 0px !important;
}

.avpw_button:hover,
.avpw_button.avpw_back_button:hover,
.avpw_inset_button:hover,
#avpw_resume_editing:hover,
#avpw_close_nosave:hover {
    border-color: #9e9e9e !important;
    background: #ccc !important;
    background-image: linear-gradient(to bottom,#f2f2f2,#ccc) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc') !important;
    opacity: 1 !important;
}

.avpw_inset_button.avpw_inset_button_first {
    border-radius: 4px 0 0 4px !important;
    border-left-width: 1px !important;
}

.avpw_inset_button.avpw_inset_button_last {
    border-radius: 0 4px 4px 0 !important;
}

.avpw_button.avpw_primary_button,
.avpw_button.avpw_primary_button {
    color: #fff !important;
    text-shadow: 0 -1px 0 #55830c !important;
    border-color: #62a60a #62a60a #4d9200 !important;
    background: #69b10b !important;
    background-image: linear-gradient(to bottom,#9ad717,#69b10b) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#9ad717',endColorstr='#69b10b') !important;
    border-radius: 4px !important;
    font-weight: bold !important;
}

.avpw_button.avpw_primary_button:hover,
.avpw_button.avpw_primary_button:hover {
    border-color: #5b9909 #5b9909 #478500 !important;
    background: #88be14 !important;
    background: linear-gradient(to bottom,#88be14 0,#5d9c0a 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#88be14',endColorstr='#5d9c0a',GradientType=0) !important;
    opacity: 1 !important;
}

#avpw_footer {
    border: 0 !important;
    box-shadow: 0 1px 0 #D2D2D2 inset !important;
    border-radius: 0 0 2px 2px !important;
    background: #cfd1cf !important;
    background-image: linear-gradient(to bottom,#ebebeb,#cfd1cf) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ebebeb',endColorstr='#cfd1cf') !important;
}

#avpw_tool_content_wrapper {
    background-color: white !important;
}

.avpw .avpw_tool_icon_image {
    background-color: transparent !important;
}

.avpw_app_popup {
    border-radius: 3px !important;
}

#avpw_canvas_embed {
    z-index: 1 !important;
}

.avpw_color_picker_background {
    background-color: transparent !important;
}

.avpw_dropdown_popup_list_item {
    background-color: transparent !important;
}

.avpw_font_image {
    -webkit-filter: brightness(10%) !important;
    filter: brightness(10%) !important;
}

.avpw_dropdown_popup {
    top: 109px !important;
    background-color: white !important;
    border: 1px solid #ccc !important;
}
.avpw_dropdown_popup .avpw_button {
    font-size: 14px !important;
}

#avpw_font_browser .avpw_inset_button,
#avpw_textwithfont_addtext .avpw_inset_button,
.avpw_inset_button_first.avpw_inset_button_last {
    border-radius: 4px !important;
}

#avpw_textwithfont_colors {
    padding-right: 4px !important;
}

.avpw_inset_color_widget {
    width: 365px !important;
}

#avpw_history_redo,
#avpw_history_undo {
    border: none !important;
    background-color: transparent !important;
    background: none !important;
}

#avpw_history_redo:hover,
#avpw_history_undo:hover {
    background-color: #eee !important;
}

.avpw_preset_color_image {
    border-color: #555 !important;
}

#avpw_controlpanel_meme > .avpw_inset_background {
    background-color: white !important;
}

#avpw_text_area_meme,
#avpw_text_area_meme2 {
    background: #FFFFFF !important;
    border: 1px solid #ccc !important;
    color: #333 !important;
}

body .avpw {
    background-color: #ddd !important;
}

.avpw_app_popup .avpw_button {
    font-size: 14px !important;
}