/* 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: #c5c5c5;
    border-right-color: #c5c5c5;
}
/* hover */
.avpw .avpw_inset_button:hover {
    background-color: #3c4347;
}
/* 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;
}

/* TINMCE */
#avpw_tool_content_header {
    padding: 13px 15px 9px 15px !important;
    border-bottom: 1px solid #c5c5c5 !important;
    position: relative !important;
    line-height: 20px !important;
    font-weight: bold !important;
    text-rendering: optimizelegibility !important;
    padding-right: 10px !important;
    text-align: left !important;
    background-color: white !important;
    font-weight: bold !important;
}

#avpw_controls {
    border-radius: 0 !important;
    background-color: white !important;
    border: 1px solid rgba(0,0,0,0.2) !important;
}

#avpw_breadcrumb_header, #avpw_breadcrumb_toolname {
    display: inline;
    font-size: 20px !important;
    font-weight: bold !important;
}

.avpw_text_input {
    border: 1px solid #c5c5c5 !important;
    color: #333 !important;
    font-weight: 100 !important;
}

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

.avpw .avpw_preset_crop_icon {
    border-left: #eee 1px solid !important;
    border-right: none !important;
}

.avpw_close_button {
    margin-top: 10px !important;
    margin-right: 36px !important;
    border: 1px solid transparent !important;
    background-color: transparent !important;
}

.avpw_close_inner {
    margin-top: 1px !important;
    color: #333 !important;
    background-color: white !important;
    text-indent: 0px !important;
    line-height: 17px !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 {
    -moz-box-sizing: border-box !important;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    padding: 7px 8px !important;
    font-size: 14px !important;
    line-height: 20px !important;
    cursor: pointer !important;
    color: #333 !important;
    text-align: center !important;
    overflow: visible !important;
    -webkit-appearance: none !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 {
    color: #333 !important;
    background-color: #e3e3e3 !important;
    border-color: #ccc !important;
    opacity: 1 !important;
}

#avpw_font_browser .avpw_inset_button { padding: 0 0 !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 {
    text-shadow: none !important;
    min-width: 50px !important;
    color: #fff !important;
    border: 1px solid transparent !important;
    border-color: transparent !important;
    background-color: #2d8ac7 !important;
    padding: 7px 8px !important;
}

.avpw_button.avpw_primary_button:hover,
.avpw_button.avpw_primary_button:hover {
    background-color: #257cb6 !important;
    border-color: transparent !important;
    opacity: 1 !important !important;
}

#avpw_footer {
    border: 0 !important;
    box-shadow: 0 1px 0 #D2D2D2 inset !important;
    background-color: white !important;
}

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

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

.avpw_app_popup {
    border-radius: 0 !important;
    border: 1px solid #eee;
}

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

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

.avpw_dropdown_popup_list_item {
    background-color: transparent !important;
}
.avpw_dropdown_popup_list_item:hover {
    background-color: #EEE !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;
    background-color: white !important;
}

.avpw_inset_color_widget {
}

.avpw_inset_color_picker {
    padding: 1px 1px !important;
}

#avpw_font_browser .avpw_inset_button_group {
    padding: 0 !important;
}

#avpw_textwithfont_addtext .avpw_inset_button_with_plus {
    padding: 15px 0 0 35px !important;
    width: 120px !important;
    font-size: 16px !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;
    border-top: 1px solid #c5c5c5 !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;
}

.avpw_inset_button_group .avpw_inset_button {
    padding: 0 0 !important;
}