@charset "utf-8";

:root {
    --base-width: 980px;
    --simple-popup-header-height: 40px;
}

/*@media (min-width: 1200px) {
    :root {
        --base-width: 1150px !important;
    }
}*/

* {
    outline: none;
    -webkit-user-select: none;
    box-sizing: border-box;

    margin: 0;
    padding: 0;
    /*font-family:'Arial', sans-serif;*/
    /*color: #444 ;*/
    cursor: default;
}

#editorheader * {
    box-sizing: content-box;
}

#loginpopupform * {
    box-sizing: content-box;

}

/* Login is shared by v1 and v2. Keep both actions reachable on iPad instead
   of preserving an empty second column when WebKit lays out the popup. */
#login_popup_new {
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 900px) {
    #loginpopupform .columns {
        flex-wrap: wrap;
        column-gap: 28px;
        row-gap: 20px;
    }

    #loginpopupform .join-as,
    #loginpopupform .reg-col {
        margin-left: 0;
    }

    #loginpopupform .join-as:empty {
        display: none;
    }

    #loginpopupform .reg-col:after {
        display: none;
    }
}

@media (max-width: 620px) {
    #loginpopupform .columns {
        display: block;
        padding: 16px;
    }

    #loginpopupform .join-col,
    #loginpopupform .reg-col {
        min-width: 0;
        width: 100%;
    }

    #loginpopupform .reg-col {
        margin-top: 22px;
    }
}

#editorfooter * {
    box-sizing: content-box;

}


.crop-toolbar table {
    display: inline-block;
    margin: 5px 10px;
    vertical-align: top;
}

.crop-arrow {
    background-color: #fff;
    color: #5d9eff;
    border: 1px solid #bbb;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    width: 20px;
    height: 20px;
}

.crop-action {
    background-color: #fff;
    border: 1px solid #bbb;
    cursor: pointer;
    width: 25px;
    height: 26px;
    background-image: url(/edtfiles/images/crop.png);
    background-position: -25px 0;
    border-radius: 4px;
}

.crop-action:hover, .crop-action:active {
    border-color: #fc3;
}

.crop-caption {
    padding-bottom: 0px;
    text-align: center;
    font-size: 9px;
}

.crop-toolbar {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0px 5px;
    position: absolute;
    left: 15px;
    top: -75px;
    white-space: nowrap;
    display: none;
    background-color: #eee;
    width: 420px;
    z-index: 1000;
    -moz-box-shadow: 2px 4px 7px #444;
    -webkit-box-shadow: 2px 4px 7px #444;
    box-shadow: 2px 4px 7px #444;

}

#crop_tools table {
    display: inline-block;
    vertical-align: top;
}

.crop-toolbar img {
    margin: 3px;
    cursor: pointer;
    display: inline-block;
}

#site_logo {
    border: 0;
    cursor: pointer;
    margin: 0 0 0 16px;
}

.image-mask {
    position: absolute;
    overflow: hidden;
}

.image-mask.crop {
    overflow: visible;
}

.selected.croppable {
    -moz-box-shadow: 0 0 15px 1px #39F;
    -webkit-box-shadow: 0 0 15px 1px #39F;
    box-shadow: 0 0 15px 1px #39F;
}

/* Start: Hack foe IE8 box-shadow in cropper*/
.selected.croppable .selected-dash {
    border-width /*\**/: 3px \9;
    border-color /*\**/: #39F \9;
    border-style /*\**/: solid \9;
    filter: alpha(opacity=70);

}

/* End: Hack foe IE8 box-shadow in cropper*/

.selected.croppable .handle {
    background-color: red;
}

.image-border {
    position: absolute;
    top: 0;
    left: 0;
    border: 0 solid #fff;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.canvas-toolbar {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0px 5px;
    position: absolute;
    left: 15px;
    top: -40px;
    white-space: nowrap;
    display: none;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee');
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));
    background: -moz-linear-gradient(top, #ffffff, #eeeeee);
}

.canvas-toolbar img {
    margin: 3px;
    cursor: pointer;
    display: inline-block;
}

.selected.croppable .canvas-toolbar {
    display: block !important;
}

.selected.croppable .context-menu {
    display: none !important;
}

.tooltip {
    position: absolute;
    border: 1px solid #F90;
    background: #FF6;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEFBF', endColorstr='#FDD582'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#FFEFBF), to(#FDD582)); /* for webkit browsers */
    background: -moz-linear-gradient(top, #FFEFBF, #FDD582); /* for firefox 3.6+ */
    z-index: 5000;
    color: #333;
    -moz-box-shadow: 1px 1px 3px 0px #999;
    -webkit-box-shadow: 1px 1px 3px 0px #999;
    box-shadow: 1px 1px 3px 0px #999;

    border-radius: 4px;
    font-size: 11px;
    line-height: 150%;
    text-align: center;
    padding: 7px;
}

.shape-border-stroke {
    background-image: url(/edtfiles/images/dash.png);
    background-repeat: no-repeat;
    height: 14px;
}

.resizing #crop_toolbar, .grabbed #crop_toolbar {
    display: none;
}

.crop-mask {
    position: absolute;
    background: #000;
    filter: alpha(opacity=60);
    opacity: 0.6;
    z-index: 100;
}

.panel-mask {
    filter: alpha(opacity=80);
    opacity: 0.8;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: top left;
}

.grid-mask {
    filter: alpha(opacity=80);
    opacity: 0.8;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: top left;
}

#crop_toolbar {
    background: #eee;
    height: 25px;
    border: 1px solid #ccc;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    white-space: nowrap;
    position: absolute;
    z-index: 200;
    display: block;
}

#crop_slider {
    width: 100px;
    height: 5px;
    background: #ccc;
    border-radius: 3px;
    border: 1px solid #aaa;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    position: relative;
    display: inline-block;
    margin-top: 9px;
}

.crop-legend {
    color: #888;
    font-weight: bold;
    font-size: 14px;
    position: relative;
    display: inline;
    padding: 0px 6px;
    vertical-align: middle;
}

.ui-slider-handle {
    width: 12px;
    height: 14px;
    position: absolute;
    top: -5px;
    margin-left: -5px;

    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border: 1px solid #036;

    background: #0066cb;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3696e9', endColorstr='#0062cb');
    background: -webkit-gradient(linear, left top, left bottom, from(#3696e9), to(#0062cb));
    background: -moz-linear-gradient(top, #3696e9, #0062cb);

}

.user-image-thumb-wrapper .user-image-delete {
    display: none !important;
    width: 16px;
    height: 16px;
    background: url('/edtfiles/images/toolbar.png?v=2') no-repeat;
    cursor: pointer;
}

.user-image-thumb-wrapper:hover .user-image-delete {
    display: block !important;
}

.email-to-friend-field {
    width: 100%;
    border: 1px solid #aaa;
    margin-bottom: 10px;
    font-size: 12px;
    padding: 1px 2px;
}

.page-navigation-item, .page-navigation-item img, .page-navigation-item div {
    cursor: pointer;
}

.page-navigation-item div {
    font-family: Arial, sans-serif;
    padding-top: 1px;
    font-size: 10px;
    font-weight: bold;
    text-decoration: underline;
    color: #39F;
}

.page-navigation-item.on div {
    text-decoration: none;
    color: #444;
}

#header_icons {
    margin: 0px 20px 0px 0px;
    width: var(--base-width);

}

#header_icons img {
    cursor: pointer;
}

.right {
    float: right;
}

.img-popup {
    position: absolute;
    z-index: 10000;
    top: 130px;
    margin: auto;
    left: 0;
    right: 0;
}

.bottom-left-10 {
    /*border-bottom-left-radius : 10px;
	-moz-border-radius-bottomleft: 10px;
	-webkit-border-bottom-left-radius: 10px;*/
}

.bottom-right-10 {
    /*border-bottom-right-radius : 10px;
	-moz-border-radius-bottomright: 10px;
	-webkit-border-bottom-right-radius: 10px;*/
}

.top-left-10 {
    border-top-left-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -webkit-border-top-left-radius: 10px;
}

.top-right-10 {
    border-top-right-radius: 10px;
    -moz-border-radius-topright: 10px;
    -webkit-border-top-right-radius: 10px;
}

option {
    padding: 0px 5px 0px 3px;
}

#multi_selector {
    border: 1px dashed #00C;
    background-color: #69F;
    filter: alpha(opacity=30);
    opacity: 0.3;
    position: absolute;
    display: none;
    z-index: 2000;
}

table#upage_spec {
    margin: 35px 10px 0px 40px;
}

table#brochure_spec {
    margin: 20px 10px 0px 40px;
}

table#businessFlyer_spec {
    margin: 20px 10px 0px 40px;
}

table.product_spec td {
    text-align: left;
    vertical-align: top;
    font-size: 14px;
    font-weight: bold;
    font-family: "Trebuchet MS", Arial, serif;
    padding: 2px;
}

.mset-info {
    border: 1px solid #ccc;
    background: #f5f5f5;
    margin: 10px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    padding: 10px;
}

#design_filters {
    padding: 30px 0px 0px 50px;
}

#design_filters label {
    font-family: "Trebuchet MS", Arial, serif;
    display: inline-block;
    margin-right: 20px;
    color: #222;
    line-height: 160%;
    font-size: 12px;
    font-weight: bold;
}

.padded-select {
    font-size: 13px;
    padding: 3px;
}

#admin_panels {
    position: absolute;
    top: 5px;
    left: 5px;
    width: auto;
    height: auto;
}

#admin_panels td {
    font-weight: bold;
}

#admin_panels_handle {
    padding: 10px;
    background: #eee;
}

#preview_right {
    padding: 30px 30px 0 0;
    vertical-align: top;
}

.preview-tools {
    padding-bottom: 20px;
    text-align: center;
}

#bottom_promo_table {
    height: 170px;
}

#bottom_promo_table td {
    padding: 20px;
    width: 33%;
    vertical-align: top;
}

/*
p{
	font-family:"Trebuchet MS",Arial ;
	color: #555;
	line-height: 140% ;
	font-size: 13px;
}
h3{
	font-family:"Trebuchet MS",Arial ;
	color: #222 ;
	margin-bottom: 10px;
	font-size: 16px;
}
h4{
	font-family:"Trebuchet MS",Arial ;
	color: #222 ;
	margin-bottom: 15px;
	font-size: 14px;
}*/
#preview_popup label {
    font-size: 13px;
    display: block;
    margin: 50px 0 15px 5px;
    color: black;
}

.nav-tabs {
    position: absolute;
    bottom: -1px;
    left: 25px;
}

.nav-tabs ul {
    list-style: none;
}

.nav-tabs ul li {
    float: left;
    margin-left: -1px;
    padding-left: 15px;
    cursor: pointer;
}

.nav-tabs ul li.on {
    background: url("/edtfiles/images/bg_nav_tabs.png") no-repeat scroll left -53px transparent;
}

.nav-tabs ul li > div {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    float: left;
    padding: 10px 15px 10px 0;
    color: #c36;
    cursor: inherit;
}

.nav-tabs ul li.on > div {
    outline: medium none;
    background: url("/edtfiles/images/bg_nav_tabs.png") no-repeat scroll right 0 transparent;
    color: #333;
}

#top_nav_border {
    margin-left: -1px;
    width: var(--base-width);
    height: 10px;
    background: url(/edtfiles/images/bg_top_nav_border.png);
}

.top-nav {
    font-family: Arial, sans-serif;
    position: relative;

    height: 51px;
    border-bottom: 1px solid #CCC;
}

#template_save_bar {
    min-height: 45px;
    padding: 6px 10px;
    border-left: 1px solid #CCC;
    border-right: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
    background: #fff;
    box-sizing: border-box;
    text-align: right;
}

#template_save_bar .action-button {
    margin: 0;
}

#top_panels {
    position: relative;
    overflow: hidden;
    border-left: 1px solid #CCC;
    border-right: 1px solid #CCC;
    height: 90px;
    width: 100%;
    background-color: #fff;
}

#user_image_scroller {
    margin: 0 25px;
    overflow: hidden;
}

#user_images > div {
    display: inline-block;
    position: relative;
    vertical-align: top;
    margin: 7px 4px;
}

#user_images {
    position: relative;
    width: auto;
    white-space: nowrap;
    left: 0;
}


#user_images > div {
    display: inline-block;
    position: relative;
    margin: 7px 4px;
    vertical-align: top;
}

.nav-arrow {
    position: absolute;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100;
    background: #e1e1e1;
    color: #fff;
    height: 85px;
    line-height: 82px;
    padding: 2px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

.nav-arrow:hover {
    color: #fff;
    background: #d5d5d5;
}

.top-panel-left {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    padding-left: 20px;
    padding-top: 5px;
    width: 250px;
    background: white;
    text-align: center;
    z-index: 10;
    height: 80px;
}

.top-panel-right {
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
    z-index: 5;
    height: 100%;
    background: #fff;
    margin: 0;
    border: 1px solid #fff;
}

#uploadify_placeholder {
    margin: 15px auto 5px auto;
}

#upload_control {
    overflow: hidden;
}

#upload_control object {
    position: absolute;
    top: 0;
    left: 0;
}

#browse_placeholder {
    overflow: hidden;
    position: relative;
    width: 150px;
    height: 35px;
    margin: 20px auto 0 auto;
}

#browse_placeholder object {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

#browse_placeholder input {
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 150px;
    height: 35px;

}

.panel-hint {
    font-size: 11px;
    color: #666;
    text-align: center;
    width: 98%;
    line-height: 140%;
}

#user_qrcodes_scroller {
    margin: 0 25px;
    overflow-x: auto;
    overflow-y: hidden;
}

#user_qrcodes {
    position: relative;
    width: auto;
    white-space: nowrap;
}

#user_qrcodes > div {
    display: inline-block;
    position: relative;
    vertical-align: top;
    margin: 7px 4px;
    width: 84px;
    text-align: center;
}

.user-qrcode-thumb-caption {
    margin-top: 2px;
    font-size: 10px;
    line-height: 12px;
    color: #999;
    /* Подпись — одна строка: панель всего 90px высотой */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

img.user-image-thumb {
    cursor: move;
    border: 1px solid #eee;
    padding: 1px;
}

img.user-image-thumb:hover {
    border: 1px solid #FC0;
}

img.user-image-thumb.ui-draggable-dragging {
    margin: 0;
    border: 0;
}

#upload-control {
    width: 86px;
    height: 40px;
    top: -1px;
    margin-left: 13px;
}

.uploadifyQueueItem {
    min-width: 70px;
    font-size: 9px;
    border: 1px solid #CCC;
    background-color: #EEE;
    color: #999;
    padding: 2px 3px;
    text-align: center;
    overflow: hidden;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

.uploadifyError {
    border: 1px solid #FBCBBC !important;
    background-color: #FDE5DD !important;
}

.uploadify-cancel {
    background-position: -400px 0px;
    float: left;
    clear: both;
    cursor: pointer;
}

.uploadifyProgress {
    background-color: #FFFFFF;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #C5C5C5;
    border-bottom: 1px solid #C5C5C5;
    margin-top: 2px;
    width: 100%;
}

.uploadifyProgressBar {
    background-color: #80FF00;
    width: 1px;
    height: 3px;
}

#notice_bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 1px;
    width: 100%;
    text-align: center;
    overflow: visible;
    z-index: 100000;
}

#notice_box {
    display: inline-block;
    position: relative;
    padding: 7px 15px;
    font-size: 12px;
    -moz-border-radius-bottomleft: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    -webkit-border-bottom-right-radius: 4px;
}

#notice_box.notice {
    color: #333;
    background-color: #FC0;
    font-weight: bold;
}

#notice_box.alert {
    color: #FFF;
    background-color: #F30;
    font-weight: bold;
}

#notice_box.alert b, #notice_box.alert u {
    color: #FFF;
}

.jtext-edit-popup h4 {
    margin: 10px 0 0 0;
}

#template_open_left {
    float: left;
    overflow: hidden;
    width: 200px;
    position: relative;
    z-index: 100;
}

#template_open_right {
    overflow: auto;
    background-color: #fff;
    height: 490px;
    width: auto;
    margin: 10px 15px 0px 0px;
    border: 1px solid #aaa;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#template_open_left h3 {
    margin: 0;
    padding: 5px;
    text-align: center;
    background: #39F;
    color: #fff;
}

#template_open_left h4 {
    margin: 5px;
    color: #999;
    font-size: 10px;

}

.inline-text-edit textarea {
    width: 350px;
    margin: 3px 15px;
    display: block;
    border: 1px solid #ccc;
    font-size: 13px;
    padding: 2px;
    min-height: 50px;

}

#page_footer {
    width: var(--base-width);
    height: 52px;
    margin: 0 auto;
}

#page_footer td, #page_footer a {
    /*	padding: 0px 15px ;*/
    font-family: Arial, sans-serif;
    /*	font-weight:bold;
	font-size:11px ;
	color: #fff ;
	text-decoration:none;*/
}

#page_footer ol, #page_footer ul {
    list-style: none outside none;
}

.open-item-wrapper {
    padding: 15px 0px 20px 15px;
}

.open-item-wrapper .open-item-thumb {
    float: left;
    text-align: center;
}

.open-item-wrapper .open-item-thumb img {
    cursor: pointer;
}

.open-item-wrapper .open-item-info .open-link {
    font-size: 12px;
    font-weight: bold;
}

.open-item-wrapper .open-item-info {
    margin-left: 150px;
    font-size: 12px;
}

.open-item-wrapper .open-item-info > div {
    margin-bottom: 3px;
}


#elementsresults {
    overflow: auto;
    height: 420px;
}


.elementsbrowser_menuitem {
    width: 170px;
    height: 140px;
    float: left;
    margin-left: 5px;
    text-align: center;
    background: #fff;
    cursor: pointer;

}

.elementsbrowser_menuitem:hover {

    float: left;
    text-align: center;
    background: #eee;


}

.elementsbrowser_menuitem_picture {
    width: 150px;
    height: 100px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    margin-top: 10px;
    margin-bottom: 4px;
    margin-left: 10px;
    cursor: pointer;
}

.elementsbrowser_menuitem_picture:hover {

    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    margin-top: 10px;
    margin-bottom: 4px;
    margin-left: 10px;
    cursor: pointer;
}

.elementsbrowser_menuitem_title {
    width: 150px;
    margin: 0 10px;
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}


#templatesresults {
    overflow: auto;
    height: 420px;
}


.templatesbrowser_menuitem {
    width: 170px;
    height: 120px;
    float: left;
    margin-left: 5px;
    text-align: center;
    background: #fff;
    cursor: pointer;

}

.templatesbrowser_menuitem:hover {

    float: left;
    text-align: center;
    background: #eee;


}

.templatesbrowser_menuitem_picture {
    width: 150px;
    height: 100px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    cursor: pointer;
}

.templatesbrowser_menuitem_picture:hover {

    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    cursor: pointer;
}

.templatesbrowser_menuitem_title {
    font-size: 14px;
    cursor: pointer;
}


.fotolia-searching {
    padding-left: 35px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 12px;
    background: url('/edtfiles/images/ajax-loader-white.gif') no-repeat left center;
"
}

.vertical-ruler {
    position: absolute;
    display: block;
    left: 0px;
    top: 0px;
}

.horizontal-ruler {
    position: absolute;
    display: block;
    left: 0px;
    top: 0px;
}

.horizontal-ruler-guide {
    position: absolute;
    top: 0px;
    height: 14px;
    width: 1px;
    border-left: 1px dotted red;
}

.vertical-ruler-guide {
    left: 0px;
    position: absolute;
    height: 1px;
    width: 14px;
    border-top: 1px dotted red;
}


#vertical_ruler_placeholder {
    display: none;
    position: absolute;
    left: 0px;
    top: 0px;
    border: 0;
    height: 100%;
    width: 15px;
    overflow: visible;
    /*
	background-color: #f7f7f7;
	background-image:url(images/bg_ruler_left.png) ;
	background-position:right;
	background-repeat:repeat-y;
	*/
}

#horizontal_ruler_placeholder {
    display: none;
    position: absolute;
    left: 0px;
    top: 5px;
    border: 0;
    width: 100%;
    height: 15px;
    overflow: visible;
    /*
	background-color: #f7f7f7;
	background-image:url(images/bg_ruler_top.png) ;
	background-position:bottom;
	background-repeat:repeat-x;
	*/
}

.wiz-product-options li {
    color: #0067d0;
    font-size: 12px;
    font-weight: bold;
    list-style: none;
    margin-left: 10px;
    padding: 3px 7px;
    border: 1px solid transparent;
    cursor: pointer;
    -webkit-border-bottom-left-radius: 4px;
    border-bottom-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    -webkit-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
}

.wiz-product-options li .item-options {
    display: none;
}

.wiz-product-options li.on .item-options {
    display: block;
    float: right;
}

.wiz-product-options li:hover {
    background: #C2D8FC;
}

.wiz-product-options li.on {
    border-right: none;
    background-color: #eeeeee;
    color: #333;
}

.wiz-product-options {
    height: 400px;
    overflow: auto;
}

#wiz_center_panel img {
    margin: 7px;
    cursor: pointer;
    padding: 5px;
    border: 1px solid transparent;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#wiz_center_panel img:hover, #wiz_center_panel img.on {
    border: 1px solid #F90;
}

#wiz_center_panel {
    height: 310px;
    border-bottom: 1px solid #aaa;
    overflow: auto;
    padding: 7px;
}

#wiz_bottom_panel {
    height: 145px;
}

#wiz_right_panel {
    background-color: #fff;
    width: 530px;
    height: 460px;
    margin: 10px 0px 0px 165px;
    border: 1px solid #aaa;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;

}

#wiz_left_panel {
    float: left;
    width: 165px;
    z-index: 100;
}


.user-image-thumb-wrapper .user-image-delete {
    display: none !important;
}

.user-image-thumb-wrapper:hover .user-image-delete {
    display: block !important;
}

#layout_options_wrapper {
    position: relative;
    margin-right: -10px;
    padding-right: 10px;
    padding-bottom: 15px;
    height: 290px;
    overflow: auto;
}

#layout_popup h3 {
    font-size: 16px;
    color: #69C;
    margin: 15px 0 0 0;
}

.layout-option {
    border: 1px solid transparent;
    display: inline-block;
    margin: 5px;
    position: relative;
    height: auto;
    text-align: center;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    padding: 10px;
    cursor: pointer;
}

.layout-popup-help {
    font-size: 13px;
    color: #666;
    background-color: #fff;
    padding: 10px 20px;
}

#layout_ori_ph {
    margin: 0 30px 10px 10px;
    text-align: right;
}

#layout_popup .layout-option {
    padding: 10px !important;
}

.layout-option:hover {
    border: 1px solid #4E7CD3;
    background: #e0edf9;
}

.layout-option input {
    visibility: hidden;
}

.layout-ori-title {
    font-size: 18px;
    font-weight: bold;
    padding: 0 0 3px 2px;
    margin: 10px 20px 5px 0;
    border-bottom: 1px solid #aaa;
    color: #3A4D89;
}

.layout-option:hover input {
    visibility: visible;
}

.layout-option.on, .layout-option.on:hover {
    border: 1px solid #F90;
    background: none;
}

.layout-option .layout-admin-options {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.layout-option:hover .layout-admin-options {
    display: block;
}

.layout-option img {
    cursor: pointer;
}

#open_tems_scroller {
    height: 350px;
    overflow: auto;
}

#open_table a {
    color: #06F;
    font-weight: bold;
}

#open_table th {
    text-align: left;
    padding: 4px 4px;
    background: #C9D8FC;
}

#open_table td {
    padding: 3px 4px;
    background: #EDF2FA;
}

input[type='text'].disabled {
    border: 1px solid #cacaca !important;
    background: #f2f2f2;
    color: #999 !important;
}

#header {
    width: var(--base-width);
    height: 100px;
    /*height: 90px*/
    margin: 0px auto;
    background-color: #fff;

}

#login_info {
    margin: 2px 10px;
    text-align: right;
}

.req-field input[type='text'], .req-field input[type='password'] {
    border-left: 2px solid red !important;
}

.fake-link, a {
    /*color:#39F;*/
    cursor: pointer;
}

.fake-link:hover, a:hover {
    text-decoration: underline;
}

#login_message {
    border: 1px solid #FFD700;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    margin: 10px 20px;
    padding: 10px;
    background: #FFC;
    color: #333;
    max-width: 380px;
    height: auto;
    text-align: center;
    display: none;
}

#login_message span {
    color: #F30;
    font-weight: bold;
}

.login-table {
    width: 100%;
    margin-top: 20px;
}

.login-table th {
    padding: 3px 3px 3px 0px;
    text-align: left;
    vertical-align: top;
}

.login-table td {
    padding: 3px;
    vertical-align: top;
}

#feedback_message {
    border: 1px solid #FFD700;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    margin: 10px 20px;
    padding: 10px;
    background: #FFC;
    color: #333;
    max-width: 465px;
    height: auto;
    text-align: center;
    display: none;
}

#feedback_message span {
    color: #F30;
    font-weight: bold;
}

#popup_upload_queue {
    margin: auto;
    width: 100%;
}

.admin-inline-menu {
    width: 60px !important;
    margin-left: 65px;
    cursor: move;
}

.admin-inline-menu.open {
    width: 150px !important;
}

.image-result-item {
    border: 1px solid transparent;
    display: inline-block;
    margin: 5px;
    width: 160px;
    position: relative;
    height: auto;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;

}

.image-thumb-loading {
    background: url('/edtfiles/images/ajax-loader-white.gif') no-repeat center center;
}

.image-result-item .image-thumb img {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 2px;
    border: 1px solid #D2EEEA;
    background: #fff;
    visibility: hidden;
}

.image-result-item:hover {
    border: 1px solid #ccc;
    background: #e0edf9;
}

.image-result-item .image-thumb {
    position: relative;
    width: 100%;
    height: 120px;
    text-align: center;
    margin: auto;
}

.image-result-item .hover-options {
    text-align: center;
    visibility: hidden;
}

.image-result-item:hover .hover-options {
    visibility: visible;
}

.stock-image-price-search, .stock-image-price-outline {
    position: absolute;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 9px;
    top: -9px;
    left: 0;
    right: 0;
    margin: auto;
    width: 80px;
    height: 17px;
    line-height: 13px;

    text-align: center;
    color: #777;
    background-color: #FDD582;

    border: 1px solid #bbb;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEFBF', endColorstr='#FDD582'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#FFEFBF), to(#FDD582)); /* for webkit browsers */
    background: -moz-linear-gradient(top, #FFEFBF, #FDD582); /* for firefox 3.6+ */

    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

.stock-image-price-outline {
    width: 50px;
    border-color: #888;
}

#crop_box .stock-image-price-outline, #crop_box .stock-image-thumb-info {
    display: none !important;
}

.image-result-item .options span {
    cursor: pointer;
    display: inline-block;
    color: white;
    font-size: 9px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    padding: 4px 3px;
    margin: 6px 2px 0px 0px;
    white-space: nowrap;

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00bf64', endColorstr='#009f62'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#00bf64), to(#009f62)); /* for webkit browsers */
    background: -moz-linear-gradient(top, #00bf64, #009f62); /* for firefox 3.6+ */

    -moz-box-shadow: 1px 1px 3px 0px #999;
    -webkit-box-shadow: 1px 1px 3px 0px #999;
    box-shadow: 1px 1px 3px 0px #999;

    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}


.template-result-item {
    border: 1px solid transparent;
    display: inline-block;
    margin: 5px;
    width: 160px;
    position: relative;
    height: auto;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;

}

.template-thumb-loading {
    background: url(/edtfiles/images/ajax-loader-white.gif) no-repeat center center;
}

.template-result-item .template-thumb img {
    display: block;
    max-width: 150px;
    max-height: 150px;
    margin: 0 auto;
    padding: 2px;
    border: 1px solid #D2EEEA;
    background: #fff;
}

.template-result-item:hover {
    border: 1px solid #ccc;
    background: #e0edf9;
}

.template-result-item .image-thumb {
    position: relative;
    width: 100%;
    height: 120px;
    text-align: center;
    margin: auto;
}

.template-result-item .hover-options {
    text-align: center;
    visibility: hidden;
}

.template-result-item:hover .hover-options {
    visibility: visible;
}

.template-price-search, .template-price-outline {
    position: absolute;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 9px;
    top: -9px;
    left: 0;
    right: 0;
    margin: auto;
    width: 80px;
    height: 17px;
    line-height: 13px;

    text-align: center;
    color: #777;
    background-color: #FDD582;

    border: 1px solid #bbb;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEFBF', endColorstr='#FDD582'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#FFEFBF), to(#FDD582)); /* for webkit browsers */
    background: -moz-linear-gradient(top, #FFEFBF, #FDD582); /* for firefox 3.6+ */

    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

.template-price-outline {
    width: 50px;
    border-color: #888;
}


.template-result-item .options span {
    cursor: pointer;
    display: inline-block;
    color: white;
    font-size: 9px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    padding: 4px 3px;
    margin: 6px 2px 0px 0px;
    white-space: nowrap;

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00bf64', endColorstr='#009f62'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#00bf64), to(#009f62)); /* for webkit browsers */
    background: -moz-linear-gradient(top, #00bf64, #009f62); /* for firefox 3.6+ */

    -moz-box-shadow: 1px 1px 3px 0px #999;
    -webkit-box-shadow: 1px 1px 3px 0px #999;
    box-shadow: 1px 1px 3px 0px #999;

    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}


.template-thumb-img {

}

.keyword-container {
    margin: 10px;
}

#image_info {
    margin: 10px 5px;
    float: left;
}

#image_info img {
    display: block;
    float: left;
    -moz-box-shadow: 2px 2px 4px #666;
    -webkit-box-shadow: 2px 2px 4px #666;
}

#image_info table {
    float: left;
    margin-left: 5px;
}

#image_info th {
    text-align: left;
    padding: 4px 10px;
}

select::-moz-focus-inner, input::-moz-focus-inner, button::-moz-focus-inner {
    border: 0;
}

textarea, input[type=text], input[type=password] {
    outline: 0 none;
    cursor: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
}

fieldset {
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    padding: 5px 7px;
    border: 1px solid #6CF;
    background: #f5f5f5;
}

legend {
    padding: 2px 3px;
}

#mset_list {
    padding: 2px;
}

#mset_keywords {
    padding: 5px;
    margin: 10px auto;
    border: 1px solid #6CF;
}

#mset_list option {
    font-size: 12px;
}

.inline-form input {
    width: 100px !important;
    border: 1px solid #6CF;
}

.keyword-item {
    display: inline-block;
    border: 1px solid #6CF;
    background: #E8F5FF;
    padding: 1px 3px;
    margin: 2px;
    font-size: 10px;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    white-space: nowrap;
    cursor: default;
}

.keyword-item-private {
    background: #EEE;
    border: 1px solid #999;
}

.keyword-item input[type='button'] {
    padding: 0px;
}

.keyword-item span {
    color: red;
    padding-left: 5px;
    cursor: pointer;
}

#page_navigation {
    position: absolute;
    bottom: -1px;
    left: -1px;
    right: -1px;
    background: #f6f6f6;
    background: -webkit-gradient(linear, left top, left bottom, from(#F9F9F9), to(#E3E3E3)); /* for webkit browsers */
    background: -moz-linear-gradient(top, #F9F9F9, #E3E3E3); /* for firefox 3.6+ */
    border: 1px solid #ccc;
    border-radius: 5px;
    -moz-border-radius: 5px 5px 0px 5px;
    -webkit-border-radius: 5px 5px 0px 5px;
    padding: 2px 4px;
    /* при большом числе страниц (брошюры) не переносим на новые строки -
       вместо этого горизонтальная прокрутка в одну строку */
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

.admin-toolbar {
    width: 100%;
    height: 35px;
    padding: 5px;
    background: #F8FBFD;
    margin-top: 5px;
    border: 0px solid #6CF;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.admin-list-table {
    width: 100%;
}

.admin-list-table th {
    padding: 3px;
    text-align: right;
    background: #C9D8FC;
}

.admin-list-table td {
    padding: 3px;
    background: #E0ECFE;
}

.simple-popup {
    background-color: #fff;

    background-position: top;
    background-repeat: repeat-x;
    position: absolute;
    z-index: 50000;
    -moz-box-shadow: 5px 5px 15px #444;
    -webkit-box-shadow: 5px 5px 15px #444;
    box-shadow: 5px 5px 15px #444;
    /*border-radius: 8px ;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;*/
    border: 0px solid #006FBA;
    border-width /*\**/: 1px \9;
    border-color /*\**/: #ccc \9;
    height: 200px;
    display: none;
}

.transparent-popup {
    background-color: transparent;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
}

.simple-popup-header {
    font-family: Arial, serif;
    position: relative;
    font-size: 16px;
    background: #EEE;

    font-weight: bold;
    border-bottom: 1px solid #ccc;
    height: var(--simple-popup-header-height);
    line-height: 40px;
    padding-left: 12px;
}

.simple-popup-footer {
    background: url(/edtfiles/images/bg_top_nav1.png) repeat-x;
    position: relative;
    text-align: right;
    width: 100%;
    font-size: 14px;
    color: #666;
    font-weight: bold;
    margin-top: 0px;
    padding: 5px 7px 5px 12px;
    border-top: 1px solid #CCC;
    border-bottom-left-radius: 10px;
    -moz-border-radius-bottomleft: 10px;
    -webkit-border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    -moz-border-radius-bottomright: 10px;
    -webkit-border-bottom-right-radius: 10px;
}

.simple-popup-close {
    background: url(/edtfiles/images/close.png);
    width: 25px;
    height: 25px;
    position: absolute;
    top: -20px;
    right: -20px;
    cursor: pointer;
}

/* Попап "Изменить" (inlineTextEditByName): тот же светлый минималистичный
   стиль, что у выпадающего меню тулбара, вместо тяжёлой тени и жирного
   серого заголовка - только для этого попапа, остальные (сохранение,
   обрезка, поиск фото и т.д.) используют .simple-popup как раньше. */
.simple-popup.inline-text-edit {
    border-color: #CCCCCC #666666 #666666 #CCCCCC;
    border-width: 1px;
    border-style: solid;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, .2);
}

.inline-text-edit .simple-popup-header {
    background: #fff;
    font-size: 11px;
    font-weight: normal;
    height: 24px;
    line-height: 24px;
    padding-left: 8px;
}

.inline-text-edit textarea {
    display: block;
    width: auto;
    margin: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-size: 11px;
    padding: 4px;
}

.simple-popup-content {
    margin: 10px 20px;
}

.simple-popup-content h3 {
    margin: 10px 0px;
}

.simple-popup-content input[type='text'], .simple-popup-content input[type='password'], .simple-popup-content textarea {
    width: 100%;
    border: 1px solid #ccc;
    font-size: 11px;
    padding: 1px;
}

.textbox-title {
    float: left;
}

.admin-table {
    width: 100%;
    background: white;
    margin: 0px 0px;
}

.admin-table th {
    background: #C9D8FC;
    padding: 3px 0px;
}

.admin-table td {
    background: #E0ECFE;
}

.admin-table input[type='text'] {
    width: 100%;
    border: 1px solid #9CC;
}

.admin-table input[type='button'] {
    color: red;
    padding: 0px 2px;
    margin: 0;
}

.dtool-toolbar {
    /*background: url("/edtfiles/images/bg_top_nav1.png") repeat-x ;*/
    background: #fff;
    height: 50px;
    position: relative;
    width: 100%;
    overflow: visible;
    display: none;
    z-index: 1000;
    padding: 5px;
    border: 1px solid #ccc;
}

.bottom-toolbar {
    /*border-radius: 10px ;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;*/

}

#top_toolbar {
    border-top-color: #ccc;
}

.top-fixed-toolbar {
    position: fixed;
    top: 2px;
    left: 0;
    right: 0;
    width: auto;
    -moz-box-shadow: 2px 2px 0px #AAA;
    -webkit-box-shadow: 2px 2px 0px #AAA;
    box-shadow: 2px 2px 0px #AAA;
    z-index: 2000;
    border: 1px solid #ccc;
}

.bottom-fixed-toolbar {
    position: fixed !important;
    bottom: 5px !important;
    left: 0;
    right: 0;
    width: auto;
    -moz-box-shadow: 2px 2px 0px #AAA;
    -webkit-box-shadow: 2px 2px 0px #AAA;
    box-shadow: 2px 2px 0px #AAA;
    z-index: 2000;
}

#top_toolbar_placeholder {
    position: relative;
    overflow: visible;
    margin-bottom: 10px;
    height: 50px;
}

#bottom_toolbar_placeholder {
    position: relative;
    min-height: 70px;
    overflow: visible;
}

#bottom_toolbar {
    /*	position: absolute;
	bottom: 0;
*/
}

.color-control-menu {
    width: 225px;
    padding: 4px 0px 0px 4px;
}

.color-control-menu .color-pick {
    width: 18px;
    height: 18px;
    cursor: pointer;
    border: 2px solid white;
    float: left;
}

.color-control-menu__colorpicker {
    padding: 3px 4px 4px 0;
    clear: both;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-control-menu__colorpicker input[type=color] {
    border: 1px solid #AAA;
    border-radius: 4px 0 0 4px;
    flex-grow: 1;
}

.color-control-menu__colorpicker .btn {
    box-shadow: none;
    border: 1px solid #BBB;
    border-radius: 0 4px 4px 0;
    margin-left: -1px;
}

.color-control-menu__colorpicker input[type="color" i]::-webkit-color-swatch-wrapper {
    padding: 2px;
}

.color-control-menu__colorpicker input[type="color" i]::-webkit-color-swatch {
    border: none;
    border-radius: 3px;
}

.color-control-menu .color-pick:hover, .color-control-menu .color-pick.on {
    border-color: #0CF;
}

.color-control-header {
    /*	padding: 0 !important; */
}

.selected-color {
    display: inline-block;
    position: relative;
    width: 20px;
    height: 100%;
    margin: 0;
    border: 1px solid #ddd;
}

.toolbar-item-line {
    position: relative;
    display: inline-block;
    vertical-align: top;
    border: 1px solid transparent;
    height: 22px;
    padding: 2px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    word-spacing: normal;
}

.toolbar-item-separator {
    position: relative;
    display: inline-block;
    vertical-align: top;
    border-top: 1px solid #999;
    height: 1px;
    padding: 0px;
    margin-top: 7px;
    width: 100%;;
}


.toolbar-item-line:hover, .toolbar-item-box:hover {
    border: 1px solid #FC3;
}

.toolbar-item-line.on, .toolbar-item-box.on {
    border: 1px solid #FC3;
    background: #FBECBF;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEFBF', endColorstr='#FDD582'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#FFEFBF), to(#FDD582)); /* for webkit browsers */
    background: -moz-linear-gradient(top, #FFEFBF, #FDD582); /* for firefox 3.6+ */
}

.toolbar-item-line:active, .toolbar-item-box:active {
    border: 1px solid #F90;
    background: #FDD582;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FDD582', endColorstr='#FFEFBF'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#FDD582), to(#FFEFBF)); /* for webkit browsers */
    background: -moz-linear-gradient(top, #FDD582, #FFEFBF); /* for firefox 3.6+ */
}

.toolbar-item-line.on:active, .toolbar-item-box.on:active {
    background: none;
}

.toolbar-item-line > .toolbar-item-icon, .general-icon {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    background: url(/edtfiles/images/toolbar-set.svg) no-repeat;
}

.toolbar-item-line > .toolbar-item-text {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    height: 16px;
    line-height: 16px;
    margin: 0px 2px;
    font-size: 9px;
}

.toolbar-item-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    vertical-align: top;
    border: 1px solid transparent;
    height: 40px;
    width: auto;
    min-width: 30px;
    padding: 2px 2px;
    border-radius: 3px;
    word-spacing: normal;
}

.toolbar-item-box > .toolbar-item-icon {
    position: relative;
    display: block;
    margin: auto;
    width: 16px;
    height: 16px;
    background: url(/edtfiles/images/toolbar-set.svg) no-repeat;
}

.toolbar-item-box > .toolbar-item-text {
    margin: auto;
    text-align: center;
    position: relative;
    display: block;
    height: 16px;
    line-height: 16px;
    font-size: 9px;
}

.toolbar-item-box > svg {
    opacity: 0.4;
}

.toolbar-item-disabled, .toolbar-item-disabled:hover, .toolbar-item-disabled:active {
    border-color: transparent !important;
    background: none;
}

.toolbar-item-disabled > .toolbar-item-icon {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
    filter: alpha(opacity=40);
    opacity: 0.4;
}

.toolbar-item-disabled > .toolbar-item-text {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
    filter: alpha(opacity=40);
    opacity: 0.4;
}

.toolbar-divider {
    position: relative;
    display: inline-block;
    border-left: 1px solid #ddd;
    height: 38px;
    width: 5px;
    margin-left: 3px;
}

.easy-inline {
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

body {
    /*font-size:11px;*/
    position: relative;

}

#tool_placeholder {
    position: relative;
    min-height: 400px;
    width: auto;
    height: auto;
    overflow: hidden;
}

.drop-down {
    position: relative;
    display: inline-block;
    z-index: 2000;
    vertical-align: top;
}

.drop-down-menu {
    border-color: #CCCCCC #666666 #666666 #CCCCCC;
    outline: medium none;
    border-width: 1px;
    border-style: solid;
    position: absolute;
    background: #FFF;
    display: none;
    min-width: 50px;
}

.drop-down-header.toolbar-item-line {
    border: 1px solid #ccc;
    height: 22px;
    padding: 2px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    word-spacing: normal;
    background: #FFF;
    display: inline-block;
}

.drop-down-header.toolbar-item-box {
    display: block;
}

.toolbar-item-box.drop-down-header:hover, .toolbar-item-line.drop-down-header:hover {
    border: 1px solid #FC3 !important;
}

.drop-down.open .drop-down-header {
    background: #F0E2C6;
    border: 1px solid #FC3 !important;
}

.item-group .drop-down-header {
    border: 1px solid transparent;
    background: none;
}

.item-group .drop-down-menu .toolbar-item-line {
    float: none !important;
    display: block;
}

.item-group {
    position: relative;
}

.item-group .drop-down-header-text {
    font-size: 9px;
}

.drop-down-header-arrow {
    vertical-align: middle;
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(/edtfiles/images/toolbar-set.svg) no-repeat -240px 0px;
}

.drop-down-header-text {
    font-size: 11px;
    white-space: nowrap;
    vertical-align: middle;
    position: relative;
    display: inline-block;
    overflow: hidden;
    border: none;
}

.font-size_control input {
    margin-right: 1px;
    width: 40px;
}

.font-size_control input::-webkit-inner-spin-button {
    opacity: 1 !important;
}

.drop-down.open > .drop-down-menu {
    display: block !important;
}

.font-category-list {
    width: 100px;
    height: 200px;
    padding: 2px 0px 2px 2px;
}

.drop-down-item {
    padding: 3px 5px;
    font-weight: normal;
}

.drop-down-item.on {
    background-color: #FFCC00 /*#F0E2C6*/;
}

.drop-down-cat-item {
    font-weight: bold;
    padding: 5px 5px;
}

.drop-down-item:hover {
    background-color: #ccffff;
}

.drop-down-cat-item:hover {
    background-color: #FF9;
}

.drop-down-cat-item:hover > .drop-down-menu {
    display: block !important;
}

.font-list {
    top: -1px;
    height: 200px;
    left: 98px;
    width: 250px;
    padding: 2px;
    overflow-y: auto;
}

.font-list-single {
    height: 250px;
    width: 200px;
    padding: 2px;
    overflow-y: auto;
}

.support {
    z-index: 10000;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 20px;
    color: red;
    font-size: 20px;
}

.clearer {
    clear: both;
    float: none;
}

.loading-indicator {
    background-image: url(/edtfiles/images/ajax-loader.gif);
    background-repeat: no-repeat;
    background-position: center center;
}

#gray_box, .gray_box {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #222;
    filter: alpha(opacity=70);
    opacity: 0.7;
    top: 0;
    left: 0;
    z-index: 5000;
    display: none;
}

#loading {
    display: none;
    position: absolute;
    opacity: 0.8;
    width: 100%;
    height: 100%;
    background-color: #eee;
    background-image: url(/edtfiles/images/ajax-loader.gif);
    background-repeat: no-repeat;
    background-position: center center;
    overflow: hidden;
}

.loading {
    position: absolute;
    filter: alpha(opacity=50);
    opacity: 0.5;
    background-color: #000;
    background-image: url(/edtfiles/images/ajax-loader-s.gif) !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.non-selectable {
    cursor: default;
    visibility: hidden;
}

.non-selectable:hover {
    /*	display: none ; */
}

.admin.non-selectable {
    /*	display: block !important; */
    visibility: visible !important;
}

.admin.non-selectable:hover {
    border: 1px dashed #0FF;
}

.selected .context-menu, .locked.highlighted .context-menu, .admin.non-selectable:hover .context-menu {
    z-index: 500;
    display: block;
    border-radius: 1px;
    -moz-border-radius: 1px;
    -webkit-border-radius: 1px;
    border: 1px solid #333;
    background: #fff;
    color: #333;
    font-size: 9px;
    top: -30px;
    left: -3px;
    position: absolute;
    padding-bottom: 2px;
    width: auto;

    -moz-box-shadow: 3px 3px 4px 0 #222;
    -webkit-box-shadow: 3px 3px 4px 0 #222;
    box-shadow: 3px 3px 4px 0 #222;

}

#crop_box .context-menu, .resizing .context-menu, .grabbed .context-menu {
    display: none;
}

.context-menu input {
    margin-right: 3px;
    vertical-align: middle;
}

.context-menu h6 {
    padding: 2px 3px;
    background: #fff;
    font-size: 10px;
    font-weight: normal;
    white-space: nowrap;
    color: #000;
}

.context-menu.open h6 {
    padding-bottom: 4px;
}

.context-menu h6:hover span {
    color: #F00;
}

.context-menu.open h6 span {
    display: none;
}

.context-menu.open h6 {
    background: #999;
    color: #FFF;
    margin-bottom: 2px;
    font-weight: bold;
}

.context-menu {
    display: none;
}

.context-menu a, .context-menu hr {
    display: none;
}

.outline2 .context-menu.open .locker {
    display: block;
}

.outline2 .stock-image-price-outline, .outline2 .stock-image-thumb-info {
    display: none;
}

.outline2.selected .stock-image-price-outline, .outline2.selected .stock-image-thumb-info, .locked.highlighted .stock-image-price-outline, .locked.highlighted .stock-image-thumb-info {
    display: block !important;
}

.outline2.resizing .stock-image-price-outline, .outline2.resizing .stock-image-thumb-info, .outline2.grabbed .stock-image-price-outline, .outline2.grabbed .stock-image-thumb-info {
    display: none !important;
}

.outline2 .unlocker {
    display: none !important;
}

.outline2.locked .locker {
    display: none !important;
}

.outline2.locked.admin .context-menu.open a {
    display: block !important;
}

.outline2.locked .context-menu.open .unlocker {
    display: block !important;
}

.context-menu.open a {
    display: block;
    white-space: nowrap;
    margin: 0px 2px 0px 2px;
    padding: 1px 5px 1px 8px;
    border: 1px solid #fff;
    text-decoration: none;
    font-size: 9px;
    color: #000;
}

.context-menu.open hr {
    display: block;
}

.context-menu.open a:hover {
    border: #999 1px solid;
    background: #ddd;
}

/* Каскадные пункты эффектов ("Тень", "Наложение", "Размытие",
   "Прозрачность") внутри "Действия"/"Опции": светлый список в духе
   выпадающего меню тулбара вместо отдельных модальных окон - раскрывается
   по наведению на пункт. */
.context-menu-item {
    display: none;
    position: relative;
}

.context-menu.open .context-menu-item {
    display: block;
}

.context-menu-item > span {
    display: block;
    white-space: nowrap;
    margin: 0 2px;
    padding: 1px 16px 1px 8px;
    border: 1px solid #fff;
    font-size: 9px;
    color: #000;
    cursor: default;
}

.context-menu-item:hover > span {
    border: #999 1px solid;
    background: #ddd;
}

.context-menu-item.has-submenu > span:after {
    content: '';
    position: absolute;
    right: 5px;
    top: 50%;
    margin-top: -3px;
    border: 3px solid transparent;
    border-left-color: #999;
}

.effect-submenu {
    display: none;
    position: absolute;
    top: -1px;
    left: 100%;
    min-width: 110px;
    background: #fff;
    border-color: #CCCCCC #666666 #666666 #CCCCCC;
    border-width: 1px;
    border-style: solid;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .2);
    padding: 2px 0;
    z-index: 10;
}

.context-menu-item:hover > .effect-submenu {
    display: block;
}

.effect-submenu-item {
    padding: 3px 8px;
    font-size: 9px;
    white-space: nowrap;
    color: #000;
    cursor: pointer;
}

.effect-submenu-item:hover {
    background-color: #ccffff;
}

.effect-submenu-item.on {
    background-color: #FFCC00;
}

.effect-submenu-transparency {
    padding: 8px 10px;
    white-space: nowrap;
}

.effect-submenu-transparency .effect-slider {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 85px;
    height: 4px;
    background: #ccc;
    border: 1px solid #aaa;
    border-radius: 3px;
}

.effect-submenu-transparency .effect-slider-value {
    display: inline-block;
    vertical-align: middle;
    min-width: 30px;
    margin-left: 8px;
    text-align: right;
    font-size: 9px;
    color: #000;
}

.selected .context-menu:hover {
}

.resizing #crop_toolbar, .grabbed #crop_toolbar {
    display: none;
}

.highlighted {
    border: 1px dotted red;
    cursor: pointer;
}

.highlighted.locked {
    cursor: default !important;
}

.selected {
    border: 1px solid #0a3c6b;
    cursor: move;
}

.selected-dash {
    position: absolute;
    border-color: #cfe6fc;
    border-style: dashed;
    border-width: 1px 0 0 1px;
    display: none;
}

.selected-dash.t {
    top: -1px;
    left: -1px;
    width: 100%;
    height: 1px;
}

.selected-dash.b {
    bottom: -1px;
    left: -1px;
    width: 100%;
    height: 1px;
}

.selected-dash.l {
    top: -1px;
    left: -1px;
    width: 1px;
    height: 100%;
}

.selected-dash.r {
    top: -1px;
    right: -1px;
    width: 1px;
    height: 100%;
}


.selected .selected-dash {
    display: block;
}

.lowlighted {
    border: 0;
}

.handle {
    width: 10px;
    height: 10px;
    border: 1px solid #333;
    background: white;
    position: absolute;
    display: none;
}


.non-resizable .handle {
    background: #fff !important;
    border: 1px solid #ddd;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    cursor: default;
}

.handle-rotate {
    width: 16px;
    height: 16px;
    border: none;

    background: url(/edtfiles/images/rotate.png) no-repeat;
    position: absolute;
    display: none;
}

.selected.unmovable {
    cursor: default !important;
}

.selected.croppable {
    cursor: move !important;
}

.crop-masks-layer {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

#crop_box .handle {
    background: red;
}

.grabbed .handle {
    background: yellow;
}

.resizing .handle {
    background: #0F0;
}

.selected .handle {
    display: block;
}


.handle-rotate {
    cursor: pointer;
    margin-top: -20px;
    margin-left: -8px;
    left: 50%;

}

.handle-n {
    margin-left: -5px;
    cursor: n-resize;
    left: 50%;
    top: -5px;
}

.handle-s {
    margin-left: -5px;
    cursor: s-resize;
    left: 50%;
    bottom: -5px;
}

.handle-e {
    cursor: e-resize;
    margin-top: -5px;
    right: -5px;
    top: 50%;
}

.handle-w {
    cursor: w-resize;
    margin-top: -5px;
    left: -5px;
    top: 50%;
}

.handle-nw {
    cursor: nw-resize;
    left: -5px;
    top: -5px;
}

.handle-ne {
    cursor: ne-resize;
    right: -5px;
    top: -5px;
}

.handle-sw {
    cursor: sw-resize;
    left: -5px;
    bottom: -5px;
}

.handle-se {
    cursor: se-resize;
    right: -5px;
    bottom: -5px;
}

.fixed-ratio .handle-s, .fixed-ratio .handle-n, .fixed-ratio .handle-e, .fixed-ratio .handle-w {
    /*	display: none; */
}

/* .text-layer - #text_layers и слои режимов наложения (#text_layers_blend_N) */
#deselector, #image_layers, #outline_layers, .text-layer, #mask_layers, #droppable_layers, #inline_cropper, #overlay_layers {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#image_layers, .text-layer, #overlay_layers {
    overflow: hidden;
}

#deselector {
    visibility: visible !important;
    border: 0 !important;
}

#droppable_layers {
    display: none;
}

.drop-mask {
    position: absolute;
    border: 2px dashed #F60;
}

.drop-mask.over {
    border: 2px dashed #3F0;
}

#droppable_layers.over {
    border: 2px dashed #3F0;
}

#image_layers img, .text-layer img, #overlay_layers img {
    image-rendering: optimizeQuality;
    display: block;
    position: absolute;
    border: 0;
}

.text-layer div, #mask_layers div {
    position: absolute;
}

.outline2 {
    background-image: url(/edtfiles/images/spacer.gif);
    background-repeat: repeat;
    position: absolute;
}

.bg-cropper-masks {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.bg-crop-img {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    border: 1px solid #aaa;
}

#popup_cropper {
    position: relative;
    margin: auto;
}

#popup_cropper_right {
    vertical-align: top;
    text-align: center;
    width: 220px;
}

#popup_cropper_right img {
    margin: 7px;
    cursor: pointer;
}

#popup_cropper_left {
    text-align: center;
}

.size-measure, .position-measure {
    font-size: 10px;
    position: absolute;
    top: -20px;
    left: 0;
    height: auto;
    width: auto;
    display: none;
    white-space: nowrap;
    padding: 0px 3px;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
}

.size-measure {
    border: 1px solid #6F6;
    background-color: #DDFEDA;
    color: #090;
}

.position-measure {
    border: 1px solid #FC0;
    background-color: #FFC;
    color: #940;
}

.croppable .size-measure, .croppable .position-measure {
    top: auto !important;
    bottom: -20px;
}

.grabbed .position-measure {
    display: block;
}

.resizing .size-measure {
    display: block;
}

.fixed-text-fields {
    position: fixed !important;
    top: 50px;
    width: 255px;
}

#text_fields textarea {
    width: 100%;
    height: 18px;
    border: 0;
    display: block;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 12px;
    overflow: hidden;
    padding: 0;
    background: transparent;
}

#text_fields textarea.active2 {
    background: #FFC;
}

#text_fields textarea.empty {
    font-style: italic;
    color: #bbb;
}

#fotolia_search_term.empty {
    color: #aaa;
}

.fake-link {
    color: #CC3366;
}


#canvas {
    /*background:#FFF;*/
    position: relative;
    z-index: 500;
    margin-bottom: 70px;
}

.canvas-shadow {
    -moz-box-shadow: 3px 3px 5px 0px #777;
    -webkit-box-shadow: 3px 3px 5px 0px #777;
    box-shadow: 3px 3px 5px 0px #777;
}

.opacity50 {
    filter: alpha(opacity=50);
    opacity: 0.5;
}

.gallery-wrap {
    filter: alpha(opacity=50);
    opacity: 0.5;
    background-color: #ccc;
    border: 1px dashed #333;
}

.museum-wrap {
    border: 1px dashed #333;
}

.safe-zone-mask {
    filter: alpha(opacity=50);
    opacity: 0.5;
}

.safe-zone-mask.dashed {
    border: 1px dotted #06F;
    position: absolute;
}

.folding-line-ver {
    border-left: 1px dashed #0F0;
    width: 1px;
    height: 100%;
    top: 0px;
}

.folding-line-hor {
    border-top: 1px dashed #0F0;
    width: 100%;
    height: 1px;
    left: 0px;
}

.grid-line-ver {
    border-left: 1px solid #808080;
    width: 1px;
    height: 100%;
    top: 0px;
}

.grid-line-hor {
    border-top: 1px solid #808080;
    width: 100%;
    height: 1px;
    left: 0px;
}

#text_fields {
    position: relative;
    height: auto;
    max-height: 350px;
    overflow: hidden;
    margin: 0;
    width: 265px;
    /*
	border-radius: 8px ;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
*/
}

/* Текстовые поля слева от холста: тот же светлый минималистичный стиль,
   что у выпадающего меню тулбара - тонкая рамка вместо серой плашки с
   border-radius:10px. */
.textbox-n-friends {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 4px 6px;
    margin: 0 0 4px;
    width: 100%;
    box-sizing: border-box;
}

.textbox-n-friends:last-child {
    margin-bottom: 0;
}

.business-card-tag-control {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 11px;
}

.business-card-tag-control span {
    flex: 0 0 auto;
}

.business-card-tag-control select {
    min-width: 0;
    width: 100%;
    height: 24px;
    border: 1px solid #bbb;
    border-radius: 3px;
    background: #fff;
    color: #333;
    font-size: 11px;
}

.editor__color-wrap {
    display: flex;
    flex-wrap: wrap;
}

.editor__body {
    display: flex;
    flex-wrap: nowrap;
}

.editor__top_toolbar_placeholder {
    min-width: 100%;
}

.editor__left_panel {
    padding-top: 24px;
    padding-bottom: 25px;
    position: relative;
    z-index: 10;
}

.panel-item {
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    background-color: #fffff2;
    width: 270px;
    margin-bottom: 10px;
    -moz-box-shadow: 3px 3px 3px 0px #777;
    -webkit-box-shadow: 3px 3px 3px 0px #777;
    box-shadow: 3px 3px 3px 0px #777;

}

.panel-item-header {
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    position: relative;
    height: auto;
    padding: 5px 10px;
    background-color: #1a75ad;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.panel-item-body {
    padding: 10px;
}

#design_tool {
    width: auto;
    height: auto;
}

#editor:fullscreen #design_tool {
    min-height: calc(100vh - 300px);
    /*overflow: auto;*/
}

.in-frame #editor:fullscreen #design_tool {
    min-height: calc(100vh - 245px);
}

#workspace {
    height: auto;
    width: var(--base-width);
    border: 0px solid #006fba;
    margin: 0px auto;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-top: 0;
    position: relative;
}

#panels .panel {
    height: 360px;
}

#cropSlider {
    width: 150px;
    height: 6px;
    margin: 5px 10px;
    background: #BBBBBB;
    position: relative;
}

#slider {
    width: 200px;
    height: 6px;
    margin: 5px;
    background: #BBBBBB;
    position: relative;
}

#search_panel_placeholder {
    height: 70px;
    margin: 5px 7px 15px 6px;
    overflow: visible;
}

#search_panel {
    position: relative;
    height: auto;
    padding: 7px 12px;
    background: #EBF2FE; /*#e9f4f5; */
    border-radius: 7px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-box-shadow: 1px 1px 3px 0px #777;
    -webkit-box-shadow: 1px 1px 3px 0px #777;
    box-shadow: 1px 1px 3px 0px #777;

}

.search-components {
}

.search-tabs-row {
    margin: 0;
    padding-left: 10px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    float: left;
}

.search-tabs-item {
    float: left;
    color: #666;
    font-weight: bold;
    font-size: 11px;
    padding: 4px 8px;
    white-space: nowrap;
}

.search-tabs-item.on {
    background: #e1e8ec;
    border-radius: 5px 5px 0px 0px;
    -moz-border-radius: 5px 5px 0px 0px;
    -webkit-border-radius: 5px 5px 0px 0px;
    color: #06F;
}

.easy-search-bar {
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    background: url(/edtfiles/images/bg_shadow.png) repeat-x;
    border-color: #ABAAAA #E1DFDF #E1DFDF;
    border-style: solid;
    border-width: 1px;
    padding: 3px 5px;
    text-indent: 0;
    white-space: nowrap;
    display: inline-block;
}

.easy-search-bar input[type='text'] {
    border: 0;
    font: italic 16px Georgia;
    margin: 0px 0 0 4px;
    outline: 0 none;
    padding: 1px 0;
}

#search_suggestions {
    position: relative;
    height: auto;
    z-index: 20000;
    background: white;
    border: 1px solid #e1e8ec;
    display: none;
    margin: 3px -1px;
    cursor: default;
    clear: both;
    float: none;
}

#search_suggestions div {
    padding: 4px 7px;
    color: #888;
}

#search_suggestions div:hover, #search_suggestions div.on {
    background: #dce6ec;
}

.action-button {
    font-family: Arial, sans-serif;
    text-shadow: -1px -1px 2px #777;
    white-space: nowrap;
    padding: 6px 6px 5px 4px;
    cursor: pointer;
    text-align: center;
}

.action-button.small {
    margin: 2px;
    font-size: 11px;
    min-width: 60px;
    padding: 3px 5px;
    border-radius: 2px;
    -moz-border-radius: 1px;
    -webkit-border-radius: 1px;

}

.action-button.tiny {
    margin: 1px;
    font-size: 10px;
    padding: 2px 3px;
    border-radius: 2px;
    -moz-border-radius: 1px;
    -webkit-border-radius: 1px;
}


.action-button.medium {
    margin: 3px;
    font-size: 13px;
    font-weight: bold;
    min-width: 100px;
    padding: 5px 8px;
    border-radius: 1px;
    -moz-border-radius: 1px;
    -webkit-border-radius: 1px;
}

.action-button.large {
    margin: 5px;
    font-size: 15px;
    font-weight: bold;
    min-width: 150px;
    padding: 7px 10px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

.action-button.green {
    border: 1px solid #003848;
    color: white;

    background: #006380;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#006380', endColorstr='#004b60');
    background: -webkit-gradient(linear, left top, left bottom, from(#006380), to(#004b60));
    background: -moz-linear-gradient(top, #006380, #004b60);

    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);

}

.action-button.green:hover {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00799c', endColorstr='#00566e');
    background: -webkit-gradient(linear, left top, left bottom, from(#00799c), to(#00566e));
    background: -moz-linear-gradient(top, #00799c, #00566e);

    -moz-box-shadow: 1px 1px 3px rgba(0, 120, 220, 0.5);
    -webkit-box-shadow: 1px 1px 3px rgba(0, 120, 220, 0.5);
    box-shadow: 1px 1px 3px rgba(0, 120, 220, 0.5);
}

.action-button.green:active {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1d8d1d', endColorstr='#2ebc2e');
    background: -webkit-gradient(linear, left top, left bottom, from(#1d8d1d), to(#2ebc2e));
    background: -moz-linear-gradient(top, #1d8d1d, #2ebc2e);

    -webkit-box-shadow: 0 0 0 0;
    -moz-box-shadow: 0 0 0 0;
    box-shadow: 0 0 0 0;
}


.action-button.blue {
    border: 1px solid #990033;
    color: white;

    background: #990033;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#CC3366', endColorstr='#AA1133');
    background: -webkit-gradient(linear, left top, left bottom, from(#CC3366), to(#AA1133));
    background: -moz-linear-gradient(top, #CC3366, #AA1133);

    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);

}

.action-button.blue:hover {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#AA1133', endColorstr='#880011');
    background: -webkit-gradient(linear, left top, left bottom, from(#AA1133), to(#880011));
    background: -moz-linear-gradient(top, #AA1133, #880011);

    -moz-box-shadow: 1px 1px 3px rgba(0, 120, 220, 0.5);
    -webkit-box-shadow: 1px 1px 3px rgba(0, 120, 220, 0.5);
    box-shadow: 1px 1px 3px rgba(0, 120, 220, 0.5);

}

.action-button.blue:active {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#880011', endColorstr='#AA1133');
    background: -webkit-gradient(linear, left top, left bottom, from(#880011), to(#AA1133));
    background: -moz-linear-gradient(top, #880011, #AA1133);

    -webkit-box-shadow: 0 0 0 0;
    -moz-box-shadow: 0 0 0 0;
    box-shadow: 0 0 0 0;
}

.action-button.white {
    border: 1px solid #ccc;
    color: #CC3366;

    background: #ffffff;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6');
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f6f6f6));
    background: -moz-linear-gradient(top, #ffffff, #f6f6f6);
    text-shadow: none;

    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
}

.action-button.white:hover {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e5e5e5');
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#e5e5e5));
    background: -moz-linear-gradient(top, #ffffff, #e5e5e5);
    color: #00566e;

    -moz-box-shadow: 1px 1px 3px rgba(0, 120, 220, 0.5);
    -webkit-box-shadow: 1px 1px 3px rgba(0, 120, 220, 0.5);
    box-shadow: 1px 1px 3px rgba(0, 120, 220, 0.5);

}

.action-button.white:active {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e1ebed', endColorstr='#ffffff');
    background: -webkit-gradient(linear, left top, left bottom, from(#e1ebed), to(#ffffff));
    background: -moz-linear-gradient(top, #e1ebed, #ffffff);

    -webkit-box-shadow: 0 0 0 0;
    -moz-box-shadow: 0 0 0 0;
    box-shadow: 0 0 0 0;
}

.action-button.disabled, .action-button.disabled:hover, .action-button.disabled:active {
    text-shadow: none;
    color: #fff;
    cursor: default;
    border: 1px solid #ccc;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#cccccc');
    background: -webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(#cccccc));
    background: -moz-linear-gradient(top, #eeeeee, #cccccc);

    -webkit-box-shadow: 0 0 0 0;
    -moz-box-shadow: 0 0 0 0;
    box-shadow: 0 0 0 0;
}


#search_result_placeholder {
    height: 0px;
    overflow: visible;
    position: relative;
}

#search_result_wrapper {
    background: white;
    border: 1px solid #ccc;
    border-top: 0;
    position: relative;
    width: 100%;
    margin: auto;
    height: auto;
    z-index: 2500;
    display: none;
    overflow: visible !important;
}

.search-result-footer {
    -moz-border-radius-bottomright: 7px;
    -webkit-border-bottom-left-radius: 7px;
    border-bottom-left-radius: 7px;
    -webkit-border-bottom-right-radius: 7px;
    border-bottom-right-radius: 7px;
    -moz-border-radius-bottomleft: 7px;
    height: 30px;
    background: url('/edtfiles/images/bg_top_nav1.png') repeat-x bottom;
    border-top: 1px solid #ccc;
}

.search-result {
    position: relative;
    padding: 10px;
    overflow: auto;
    max-height: 340px;
}

/*
.search-shadow {
	-moz-box-shadow: 1px 3px 3px 0px #777 ;
	-webkit-box-shadow: 1px 2px 3px 0px #777 ;
	box-shadow: 1px 2px 3px 0px #777 ;
}
*/
.open-table table {
    width: 100%;
    border: 0;
}

.open-table td {
    vertical-align: top;
    padding: 15px;
    border-bottom: 1px solid #ccc;
}

.admin.placeholder-helper {
    /*background: url('/edtfiles/images/stripe_gray.png') !important;*/
}

#status_bar {
    height: 25px;
    width: 100%;
}

#status_bar #status_product_info {
    font-size: 12px;
    /*	text-shadow: 1px 1px 2px #777 ; */
    color: #666;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

#status_bar #status_stock_image_info {
    font-size: 11px;
    color: #777;
}

.resolution-notice {
    position: absolute;
    top: 5px;
    right: 5px;
    display: none;
}

.selected .resolution-notice, .highlighted .resolution-notice {
    display: block;
}

.grabbed .resolution-notice, #crop_box .resolution-notice {
    display: none;
}

.resolution-notice div {
    padding: 7px 10px;
    border: 1px solid #F60;
    background: #FDED93;
    color: #555;
    position: absolute;
    width: 150px;
    -moz-border-radius: 5px 0 5px 5px;
    -webkit-border-radius: 5px 0 5px 5px;

    font-size: 11px;
    text-align: justify;
    right: 16px;
    top: 16px;
    display: none;
}

.resolution-notice:hover div {
    display: block;
}

.design-record .design-actions {
    visibility: hidden;
    text-align: center;
}

.design-record:hover .design-actions {
    visibility: visible;
}

/* start Enter text step popup */
#enter_text_table td {
    font-size: 12px;
    font-weight: bold;
    font-family: "Trebuchet MS", Arial, serif;
}

.text-body {
    font-size: 13px !important;
    background-color: #FFFEEF;
}

.text-popup-help {
    width: 250px;
    position: absolute;
    left: 600px;
    top: 65px;
    font-size: 12px;
    color: #666;
}

/* end Enter text step popup */
#yellow_bar {
    background-color: #FEFEBE;
    font-size: 12px;
    margin-top: -10px;
    padding: 2px 0;
}

#yellow_bar span {
    font-family: "Trebuchet MS", Arial, serif;
    color: #000;
}

#yellow_bar span a {
    font-family: "Trebuchet MS", Arial, serif;
    color: #06C;
}

/* Wording in Stock images tab*/
#search_bar_text {
    position: absolute;
    top: 7px;
    font-family: Arial, sans-serif !important;
    font-size: 12px
}

#search_bar_text img {
    cursor: pointer !important;
    vertical-align: top;
}

.stock-image-thumb-info {
    position: absolute;
    cursor: pointer !important;
    top: -9px;
    left: 110px;
    background-image: url(/edtfiles/images/blue_help.png);
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;

}

#font_sizes {
    height: 250px;
    width: 70px;
    overflow-y: auto;
}

#shape_border_sizes, #image_border_sizes {
    height: 250px;
    width: 70px;
    overflow-y: auto;
}


/** Загрузчик */
.js-topPanels-pics .moxie-shim {
    top: 0 !important;
    left: 0 !important;
}

.top-panels-pics {
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin: 18px 0 0;
    /*display: block !important;*/
}

.top-panels-item {
    display: inline-block;
    vertical-align: top;
    min-width: 70px;
    font-size: 9px;
    border: 1px solid #CCC;
    background-color: #EEE;
    color: #999;
    margin: 0 5px 5px 0;
    padding: 2px 3px;
    text-align: center;
    /*overflow: hidden;*/
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

.top-panels-item .progress {
    height: 5px;
    margin-bottom: 0;
}

.top-panels-item__name {
    width: 50px;
    margin: 0 auto 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #444;
}

.top-panels-item__percent {
    margin: 0 auto;
    color: #444;
    font-weight: 700;
}

/** progress-bar */
@-webkit-keyframes progress-bar-stripes {
    from {
        background-position: 20px 0;
    }
    to {
        background-position: 0 0;
    }
}

@-o-keyframes progress-bar-stripes {
    from {
        background-position: 20px 0;
    }
    to {
        background-position: 0 0;
    }
}

@keyframes progress-bar-stripes {
    from {
        background-position: 20px 0;
    }
    to {
        background-position: 0 0;
    }
}

.progress {
    height: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}

.progress-bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: #5cb85c;
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    -webkit-transition: width .6s ease;
    -o-transition: width .6s ease;
    transition: width .6s ease;
}

.progress-striped .progress-bar,
.progress-bar-striped {
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    -webkit-background-size: 20px 20px;
    background-size: 20px 20px;
}

.progress.active .progress-bar,
.progress-bar.active {
    -webkit-animation: progress-bar-stripes 2s linear infinite;
    -o-animation: progress-bar-stripes 2s linear infinite;
    animation: progress-bar-stripes 2s linear infinite;
}

.progress-bar-success {
    background-color: #80FF00;
}

.progress-striped .progress-bar-success {
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
}

.no-wrap {
    white-space: nowrap;
}


.ya-share2 {
    --ya_share2_icon_size: 18px;
}

.ya-share2 .ya-share2__list.ya-share2__list_direction_horizontal > .ya-share2__item {
    margin: 7px 5px 0 0;
}

.ya-share2 .ya-share2__container_size_m .ya-share2__badge .ya-share2__icon {
    height: var(--ya_share2_icon_size);
    width: var(--ya_share2_icon_size);
    background-size: var(--ya_share2_icon_size);
    cursor: pointer;
}

.simple-popup__frame {
    width: 100%;
    height: calc(100% - var(--simple-popup-header-height));
    vertical-align: top;
    border: none;
}

/* На телефонах текст редактируется прямо на макете. На планшетах и в
   узком iframe админского редактора список текстовых полей нужен для
   редактирования и назначения тэгов, поэтому скрываем его только на
   действительно маленьких экранах. */
@media (max-width: 767px) {
    #text_fields {
        display: none !important;
    }
}

/* Responsive editor layout -------------------------------------------------
   The canvas keeps its print dimensions; on touch devices the surrounding
   workspace becomes scrollable while controls are allowed to wrap. */
@media (max-width: 767px) {
    html, body {
        width: 100%;
        min-width: 0;
        overflow-x: hidden;
        -webkit-text-size-adjust: 100%;
    }

    #editor {
        width: 100%;
        min-width: 0;
    }

    #editorheader,
    #editorfooter,
    #workspace,
    #top_nav_border {
        width: 100%;
        max-width: 100%;
    }

    /* Внешняя шапка приходит из editor.css и рассчитана на min-width:980px.
       На телефоне оставляем только полезные действия, раскладывая их в две
       компактные строки вместо обрезания фиксированного контейнера. */
    .container,
    .container.fixed {
        width: 100%;
        min-width: 0;
        max-width: none;
        padding-left: 10px;
        padding-right: 10px;
    }

    .header-row {
        padding: 8px 0;
    }

    .header-container,
    .header-left-box {
        display: block;
        min-width: 0;
    }

    .header-left-box .no-wrap {
        display: flex;
        align-items: center;
        min-width: 0;
    }

    .header-row .logo {
        flex: 0 0 128px;
        width: 128px;
        height: 42px;
        background-size: auto 30px;
    }

    .header-row .assistance {
        min-width: 0;
        margin: 0 0 0 10px;
        padding: 0;
    }

    .header-row .phone-box {
        float: none;
        margin: 0;
    }

    .header-row .phone-box .text,
    .header-row .phone-box .callback,
    .header-row .head-tools,
    .header-right-box {
        display: none;
    }

    .header-row .phone-box .phone {
        margin: 0;
        font-size: 20px;
        line-height: 24px;
    }

    .header-row .share-holder {
        display: flex;
        align-items: center;
        float: none;
        width: auto;
        padding: 8px 0 0;
    }

    .header-row .share-holder .text {
        font-size: 16px;
        line-height: 22px;
        margin: 0 8px 0 0;
    }

    /* Верхние вкладки, операции с макетом и список изображений должны
       прокручиваться по горизонтали, а не занимать одну и ту же строку. */
    .top-nav {
        display: flex;
        flex-direction: column;
        height: auto;
        overflow: visible;
    }

    .nav-tabs {
        position: static;
        bottom: auto;
        left: auto;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-tabs ul {
        display: flex;
        float: none;
        min-width: max-content;
        white-space: nowrap;
    }

    .nav-tabs ul li {
        float: none;
        flex: 0 0 auto;
    }

    .top-nav > .user-only[style] {
        display: flex !important;
        float: none !important;
        align-items: center;
        width: 100%;
        margin: 8px 0 !important;
        overflow-x: auto !important;
        text-align: left !important;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .top-nav > .user-only #editordesignid,
    .top-nav > .user-only > div:first-child {
        display: none !important;
    }

    .top-nav > .user-only .action-button {
        flex: 0 0 auto;
        min-height: 40px;
        margin-right: 6px;
    }

    #top_panels,
    #my_images_panel,
    #my_qrcodes_panel {
        height: 96px !important;
    }

    #user_image_scroller,
    #user_qrcodes_scroller {
        height: 96px;
        margin: 0 8px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    #user_images,
    #user_qrcodes {
        min-width: max-content;
    }

    .nav-arrow {
        display: none !important;
    }

    #top_toolbar_placeholder {
        height: auto;
        min-height: 50px;
        margin-bottom: 6px;
    }

    .dtool-toolbar {
        height: auto;
        min-height: 50px;
        max-width: 100vw;
        overflow-x: auto;
        overflow-y: visible;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding: 5px 4px;
    }

    #top_toolbar > div {
        display: inline-block !important;
        float: none !important;
        vertical-align: top;
    }

    #top_toolbar > .clearer {
        display: none !important;
    }

    .toolbar-item-box,
    .toolbar-item-line {
        min-height: 42px;
        padding: 4px 6px;
        touch-action: manipulation;
    }

    .toolbar-item-box .toolbar-item-text,
    .toolbar-item-line .toolbar-item-text {
        font-size: 11px !important;
    }

    .editor__body {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .editor__left_panel {
        order: 2;
        width: 100%;
        padding: 8px 8px 16px;
    }

    #text_fields {
        width: 100%;
        max-width: none;
        max-height: 220px;
        overflow-y: auto;
    }

    .panel-item {
        width: 100%;
        max-width: none;
    }

    #design_tool {
        order: 1;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    #canvas,
    #canvas .handle,
    #canvas .outline,
    .user-image-thumb {
        touch-action: none;
    }

    #tool_placeholder {
        min-width: 0;
        overflow: visible;
    }

    #bottom_toolbar_placeholder {
        min-height: 60px;
    }

    #status_bar {
        display: none;
    }

    #bottom_toolbar {
        padding-bottom: calc(5px + env(safe-area-inset-bottom));
    }

    #product_orientation,
    #status_product_info {
        display: none !important;
    }

    #view_tools {
        margin-right: 4px !important;
    }

    #editorfooter {
        height: auto;
        min-height: 0;
        margin-top: 0;
        overflow: visible;
    }

    #editorfooter .footer-row-frame,
    #editorfooter .footer-row {
        height: auto;
        min-height: 0;
    }

    #editorfooter .copy {
        padding: 12px 10px;
        font-size: 11px;
        line-height: 15px;
    }
}

@media (max-width: 480px) {
    .toolbar-item-box .toolbar-item-text,
    .toolbar-item-line .toolbar-item-text,
    .drop-down-header-text,
    .toolbar-divider {
        display: none;
    }

    .toolbar-item-box,
    .toolbar-item-line {
        min-width: 42px;
        text-align: center;
    }

    .bottom-toolbar {
        min-height: 54px;
    }

    .bottom-toolbar .action-button {
        min-height: 40px;
        padding: 8px 12px;
    }
}
