.overflow-hidden { overflow: hidden; }
.sbOptions { z-index: 1000; }

.jSlider {width: 100%;}
/* common */
.blog {}

.blog #post-settings .textbox.long { min-width: 770px; float: right; }

.blog .preview-example {
    position: relative;
    margin-top: 10px;
    display: inline-block;
}


a.lnk-show {
    cursor: pointer;
    display:inline-block;
    height:16px;
    text-indent:-9999px;
    width:17px;
    position: relative;
}

.widget-settings-dialog .minicolors-theme-default .minicolors-swatch,
.photo-settings-dialog .minicolors-swatch {
    width: 24px; height: 24px;top: -2px;
    right: -26px;
}

.clear-both { clear: both; }
.none { display: none; }
.disabled { opacity: 0.5; }

li.ui-sortable-helper, li.ui-draggable { list-style: none; }


#blog-items.blog-categories label.prettyCheckbox span.holderWrap { margin: 0px; }

.l-blog .blog-posts-controls { margin-bottom: 20px; position: relative; height: 32px; }
.l-blog .blog-posts-controls .nav.nav-side { float: right; }

#popupImportNews #list-of-news { max-width: 380px; min-width: 200px; }
#popupImportNews .b-btn.b-disabled { opacity: 0.5; }
/* Blog Items */
#blog-items #tree-body .blog-item{border: 1px solid #e7e7e7;height: 49px;border-top: 0;background: #fcfcfc;}
#blog-items #tree-body .blog-item:hover{background: #fff;}
#blog-items #tree-body:first-child {border-top: 1px solid #e7e7e7;}
#blog-items #tree-body .tree-content:hover { background: #ECE6DA;}
#blog-items #tree-body .tree-content:hover .tree-item.date,
#blog-items #tree-body .tree-content:hover .tree-item.status,
#blog-items #tree-body .tree-content:hover .tree-item.link,
#blog-items #tree-body .tree-content:hover .tree-item.remove {
    opacity: 1;
}

/* blog feed */
#blog-items.blog-feed .tree-item {border-right: 0px;    line-height: 49px; height: 49px;float: left; border-collapse: collapse;vertical-align: middle;}


#blog-items.blog-feed .tree-item.txt  {width: 60%; margin-left: 2%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block;}
#blog-items.blog-feed .tree-item.txt a {text-overflow: ellipsis; white-space: nowrap; overflow: hidden; display: block}
#blog-items.blog-feed .tree-item.date {width: 10%; text-align: center; font-size: 11px; opacity: 0.7}
#blog-items.blog-feed .tree-item.status {width: 17%; text-align: center; text-transform: uppercase; font-size: 10px; letter-spacing: normal; opacity: 0.7}
#blog-items.blog-feed .tree-item.remove {width: 5%;padding: 0; border-right: none; opacity: 0.7;text-align: center}
#blog-items.blog-feed .tree-item.link {width: 5%;padding: 0px; opacity: 0.7;text-align: center}
#blog-items.blog-feed .lnk-show { background: url(../images/blog-feed-icons.png) no-repeat; background-position: 0px -36px;}
#blog-items.blog-feed .lnk-show:hover {background-position: 0px -52px;}
#blog-items.blog-feed .lnk-close { background: url(../images/blog-feed-icons.png) no-repeat; background-position: 1px 3px;}
#blog-items.blog-feed .lnk-close:hover { background-position: 1px -17px; }

/* blog categories */
#blog-items.blog-categories #tree-body .tree-sortable{background: #fcfcfc;border: 1px solid #e7e7e7;border-top: 0;height: 50px;}
#blog-items.blog-categories:not(#tree-body) .tree-content  .tree-item.txt { width:40%;text-align: left }
#blog-items.blog-categories:not(#tree-body) .tree-content  .tree-item.edit { width:25%; }
#blog-items.blog-categories:not(#tree-body) .tree-content  .tree-item.display { width:25%; }
#blog-items.blog-categories:not(#tree-body) .tree-name  .tree-item.remove { width:10%; }
#blog-items.blog-categories:not(#tree-body) .tree-name{background: #f6f6f6;border: 1px solid #e7e7e7;height: 50px}
#blog-items.blog-categories #tree-body .tree-content  .tree-item.move{width: 5%;top: 5px;position: relative;text-align: center;vertical-align: middle}
#blog-items.blog-categories #tree-body .tree-content  .tree-item.txt { width:35%;text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#blog-items.blog-categories #tree-body .tree-content  .tree-item.edit{width: 25%;top: 6px;position: relative;text-align: center;}
#blog-items.blog-categories #tree-body .tree-content  .tree-item.display{width: 25%;text-align: center;}
#blog-items.blog-categories #tree-body .tree-content  .tree-item.remove{width: 10%;text-align: center;}
#blog-items.blog-categories .tree-name .tree-item.txt {padding-left:5%;}

#blog-items.blog-categories .tree-name .tree-item {
    border: solid #fff;
    border-width: 0;
    font-weight: 300;
    float: left;
    border: 0;
    height: 49px;
    line-height: 49px;
    padding: 0px;
    text-align: center;
    white-space: nowrap;
    color: #929292;
}

#blog-items.blog-categories #tree-body .tree-content .tree-item {
    float: left;
    padding: 0;
    height: 49px;
    line-height: 49px;
    vertical-align: middle;
}

#blog-items.blog-categories #tree-body .tree-content .tree-item.move { padding: 0; }


.blog .blog-add {
    text-transform: uppercase;
    border-bottom: 1px solid black;
    text-decoration: none;
    padding: 0px 0px 5px;
    display: inline-block;
    font-size: 12px;
    float: left;
}
.blog .blog-add:hover {
    opacity: 0.7;
}

ul.statuses {
    list-style: none;
    margin: 10px 0px 18px;
    padding: 0;
}
ul.statuses li {
    display: inline-block;
    padding-right: 14px;
    margin-right: 10px;
    border-right: 1px solid #bbbbbb;
    line-height: 12px;
}
ul.statuses li:last-child {
    border-right: none;
}
ul.statuses li a {
    display: inline-block;
    text-transform: uppercase;
    text-decoration: none;
    color: #bbbbbb;
    font-size: 10px;
}
ul.statuses li.active a {
    color: black;
}
.l-blog .nav-side li a {
    text-align: center;
    padding: 6px 8px 8px;
}
.l-content .nav-side li a.blog-add {
    width: 100px;
}
.l-content .nav-side li a.blog-add-category {
    width: 130px;
}

/* Post content */

.post-body { /* margin-left: 80px; */ }
.post-body ul { list-style: none; margin: 0; padding: 0; }
.post-body .post { border: 1px solid #c8c6c0; padding: 12px 15px; margin-bottom: 10px; }

#post-content { min-height: 400px;}
#post-content .placeholder,
#post-content .placeholder-composite  {
    font-size: 15px;
    text-align: center;
    background: #ffffff;
    color: #161616;
    padding-bottom: 40px;
    line-height: 18px;
    letter-spacing: 0.05em;}
#post-content .placeholder img { margin: 40px 0px 8px; text-align: center; }

#post-content .placeholder-composite {
    padding-top: 20px;
    padding-bottom: 20px;
}
#post-content .placeholder-composite img { margin: 0px 0px 20px; text-align: center; width: 40px;}
#post-content .placeholder-composite .t1 {
    font-family: Verdana;
    font-size: 12px;
    line-height: 14px;
    color: #949394;
    letter-spacing: 0;
    padding-bottom: 15px;
}

#post-content .placeholder-composite .placeholder-composite-button {
    border-box: box-sizing;
    width: 230px;
    height: 32px;
    border: 1px solid #c5c5c5;
    line-height: 30px;
    font-family: Verdana;
    text-transform: uppercase;
    font-size: 10px;
    text-align: center;
    color: #4b4b4b;
    margin: 0 auto;
    cursor: pointer;
}
#post-content .element-box { border: 1px solid rgba(0,0,0,0); position: relative; margin-bottom: 20px; padding: 0px; }
#post-content .element-box:last-child { /* margin-bottom: 0px */ }
#post-content .text-box p:last-of-type { margin-bottom: 0 }
#post-content .element-box .element { /* padding: 15px; */ }
#post-content .element-box.hover, .active_sect { border: 1px solid #e7e7e7; }
.pointer { pointer-events: none; }
.hide-border { border: 1px solid rgba(0, 0, 0, 0) !important; }
.hide-panel { display: none !important; }
.hide-bg.open {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}
.blog-checkbox {float: left; margin-right: 10px;}

.post-buttons-box { height: 30px; }

/* widget post button - fix hover state by open settings panel */
#post-content .element-box > .hide-bg.open { display: none; z-index: 1; }
#post-content .element-box > .hide-bg.open.display { display: block; }
#post-content .element-box .element.post-button.pointer { pointer-events: inherit; position: relative; z-index: 1000; }
#post-content .element-box .element.widget-social-icons.pointer { pointer-events: inherit; position: relative; z-index: 1000; }
/*#post-content .element-box .element.post-button.pointer .post-button-content { pointer-events: none; }*/
.widget-settings-dialog.setting-post-button.open .hide-bg.open,
.widget-settings-dialog.setting-social-icons.open .hide-bg.open,
.widget-settings-dialog.setting-simple-image.open .hide-bg.open { display: none; }

/* set max height for widget-settings-dialog */
/*.widget-settings-dialog.setting-simple-image {
    max-height: 95%;
    overflow-y: auto !important;
}*/

#post-buttons {
    position: fixed;
    bottom: 0px;
    padding: 10px 30px 20px;
    border-top: 1px solid #c8c6c0;
//min-width: 918px;
    z-index: 999;
    margin-left: -30px;
}

#post-buttons:not(.bottom) {
    background: rgba(255, 255, 255, 0.9);
}

#post-buttons.bottom {
    border-top: 0px;
    position: relative;
    top: 15px;
}

#post-buttons .post-buttons-box { display: block; }

#post-buttons .button { display: none;  }
#post-buttons.status-new .button.a_new { display: inline-block;  }
#post-buttons.status-draft .button.a_draft { display: inline-block; }
#post-buttons.status-plan .button.a_plan { display: inline-block; }
#post-buttons.status-public .button.a_public { display: inline-block; }
#post-buttons.status-public:not(.status-select-process) .button.a_select { display: inline-block; }
#post-buttons.status-select-process .button.a_select_process { display: inline-block; }
#post-buttons.status-select-actions .button.a_select_actions { display: inline-block; }
#post-buttons.status-select-act-copy .button.a_select_act_cancel,
#post-buttons.status-select-act-move .button.a_select_act_cancel { display: inline-block; }
#post-buttons.status-select-act-copy .post-button-hint.copy-hint { display: inline-block; }
#post-buttons.status-select-act-move .post-button-hint.move-hint { display: inline-block; }

#post-buttons .button.page-copy {
    display: inline-block;
    line-height: 40px;
    vertical-align: middle;
}
.main-composite-content #post-buttons.status-public .button.a_public { text-transform: uppercase; }
#post-buttons.status-select-process .button.show-draft,
#post-buttons.status-select-process .button.page-copy {
    display: none;
}

.button.a_select, .button.a_select_process, .button.a_select_actions, .button.a_select_act_cancel  {
    float: right;
    border-color: #CACACA;
    background: #F0F0F0;
    color: #5D5D5D;
    margin-left: 20px;
}

.button.a_select:hover, .button.a_select_process:hover, .button.a_select_actions:hover {
    background: #FFFFFF;
    color: #BEC599;
}

.button.show-draft {
    margin-left: 26px;
    background: none;
    text-transform: uppercase;
    color: #5c5c5c;
    height: 25px;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.02em;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    padding: 0 2px;
}

#post-buttons.status-select-process:not(.status-select-actions):not(.status-select-act-move):not(.status-select-act-copy) .select-hint {
    display: inline;
}

.post-button-hint {
    display: none;
    float: right;
    padding: 12px;
    font-size: 12px;
}

/* Widgets list */

#widgets { width: 100%; margin-bottom: 20px; display: inline-block}

#widgets-list {
    list-style: none;
    margin: 5px 0px;
    padding: 0px;
}

#widgets-list.widget-list-composite {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    position: relative;
}

#widgets-list .widget {
    display: inline-block;
    height: 53px;
    width: 53px;
    margin-right: 3px;
    /* border: 1px solid #c8c6c0;*/
    cursor: all-scroll;
}

#widgets-list .widget svg {
    transform: translateX(0); /* Firefox */
    -ms-transform: translate(.5px, -.3px); /* IE */
    width: 100%;
    height: 100%;
}

#widgets-list .widget svg .st0{fill:#777777;}
#widgets-list .widget svg .st1{fill:#333333;}

#widgets-list .widget.simple-text svg .st0 {fill:#333333;}
#widgets-list .widget.simple-text svg .st1 {fill:#777777;}

#widgets-list .widget.aside-text svg .st0{fill:#333333;}
#widgets-list .widget.aside-text svg .st1{fill:#777777;}

#widgets-list .widget:hover svg .st0{fill:#AFAFAF;}
#widgets-list .widget:hover svg .st1{fill:#AFAFAF;}

#widgets-list .widget.disabled {
    pointer-events: none;
    opacity: 0.3;
}

#widgets-list.inactive-widgets .widget {
    pointer-events: none;
    opacity: 0.5;
}

#widgets-list .widget img {
    max-width: 100%;
}/*
.widget.ui-draggable img {
    max-width: 64px;
}
*/

#widgets-list .widget.disabled {
    pointer-events: none;
    opacity: 0.3;
}

#widgets-list li.widget.ui-draggable-dragging { list-style-type: none; cursor: all-scroll; }

.widgets-fixed { position: relative; z-index: 1000; }
.widgets-fixed .content {
    position: fixed;
    top: 10px;
    z-index: 1003;
    max-width: 1078px;
    width:  1078px;
    /*  width: 100%;
        left: 0;*/
}
.widgets-fixed-background {
    background: white;
    border-bottom: 1px solid #c8c6c0;
    display: none;
    height: 86px;
    left: 0px;
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 999;
}

.widgets-fixed-background.open { display: block; }

#widgets .overlay {
    display: none;
    height: 100%;
    position: absolute;
    width: 100%;
}
#widgets .overlay.enable { display: block; }

/* Post navigation */

#post-navigation .nav-horizontal li {
    width: 140px;
    margin-right: 10px;
    float: left;
}

/* END post navigation */

/* Post settings
========================= */


#post-settings { margin-bottom: 40px; margin-top: 17px;/* margin-left: 80px; */}
#post-settings .valid-note { margin: 0px; }
#post-settings input,
#post-settings .sbHolder,
#post-settings .sbToggle,
#post-tags .select2-container-multi .select2-choices .select2-search-choice,
#post-tags .tags-input-box ul.select2-choices {border-color: #c8c6c0 !important;}
#post-settings .sbSelector {color: #615757;vertical-align: middle;line-height: 28px; height: 22px}
#post-settings .sbToggle {color: #615757;vertical-align: middle;line-height: 28px;}
#post-settings .sbOptions li a {color: #908f8f;}
#post-settings .sbOptions .sbFocus {color: #515151;}
#post-settings .line.defmargin { margin: 5px 0px 20px; }
/*#post-settings #post-title input,
#post-settings #post-url input { height: 16px; }*/

#post-settings #post-title span,
#post-settings #post-url span { line-height: 18px; }
#post-settings #post-tags span { line-height: 26px; }

#post-settings .date-box { float: left; margin-right: 18px; }
#post-settings .date-box.time input { width: 80px; }
#post-settings .date-box.date input { width: 100px; }
#post-settings .status { width: 270px;line-height: 30px; }
#post-settings span { font-size: 13px; }
#post-settings .status span,
#post-settings .status .sbHolder { float: left; }
#post-settings .status .sbHolder { margin-left: 10px; height: 30px}
#post-settings .status .sbToggle {
    background-position: 0px 4px;
    height: 29px;
}
#post-settings .status .sbOptions{top: 34px !important;}

#post-settings .post-setting-error input { border-color: red !important; }

#post-settings #post-time input,
#post-settings #post-date input { margin-left: 5px; }


#post-settings .post-settings-box .post-date-time { display: none; }
#post-settings .post-settings-box.status-plan .post-date-time,
#post-settings .post-settings-box.status-public .post-date-time { display: block; }

#post-settings .post-settings-box.status-public #post-status ul.sbOptions li:nth-child(2)  { display: none; }

/* =================== */

#post-tags .tags-input-box {  min-height: 30px; display: inline-block; float: right; }
#post-tags .tags-input-box ul.select2-choices { border: 1px solid #dbd2cb; width: 100%; padding: 1px 0; position: relative; right: 2px; }
#post-tags span {line-height: 30px !important;}
.select2-drop-active { border: 1px solid #dbd2cb; }
.select2-container-active .select2-choice,
.select2-container-active .select2-choices { box-shadow: none !important; }
#post-tags .tags-input-box > input.tags-input { opacity: 0; }

#post-tags .select2-container {width: 80%;float: right; }
#post-tags .select2-container-multi .select2-choices .select2-search-choice { padding: 3px 18px 3px 5px; margin: 5px 0 5px 5px; background: rgba(0,0,0,0) !important; border-radius: 0px; border: 1px solid #dbd2cb; font-size: 11px; }
#post-tags .select2-container-multi .select2-choices .select2-search-choice>div { color: #524e4e; }
#post-tags .select2-container-multi .select2-choices .select2-search-field input { color: #2d2d2d; }
#post-tags .select2-container-multi .select2-search-choice-close { right: 3px; left: auto; top: 3px; }
.select2-results .select2-highlighted { background: #f9f4eb; color: #000; }
.select2-results li { color: #554D4C; }
.select2-container-multi .select2-choices { background: transparent; border-color: #C8C6C0; }


/* Post options */

#post-options { margin-left: 80px; }
#post-options .ui-slider { margin-top: 15px; margin-bottom: 20px; }


/* Informer */

#informer {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 300px;
    margin: -35px 0 0 -150px;
    box-sizing: border-box;
    padding: 25px;
    text-align: center;
    background: #FFF;
    border: 1px solid #c8c6c0;
    z-index: 1000;
    font-size: 14px;
    display: none;
}

/* Contol panel
================================= */

.element-box .widget-control-panel {
    display: none;
    position: absolute;
    right: -31px;
    top: -2px;
    width: 34px;
    z-index: 998;
}

#main-blog-content.dark .element-box .widget-control-panel {
    padding-left: 34px;
}

.element-box .widget-control-panel .control {
    cursor: pointer;
    float: right;
    height: 30px;
    margin: 0px;
    width: 30px;
    background: #4c4c4c;
}

.element-box .widget-control-panel .control:hover {
    background: #5e5e5e;
}

.element-box .widget-control-panel .control > img {
    width: 20px; height: 20px; margin: 5px;
}

.element-box .widget-control-panel .control > img svg path {
    fill: #FFFFFF;
}

.element-box.top-control-panel .widget-control-panel {
    top: -31px;
    right: -2px;
    width: 130px;
    height: 31px;
}

.element-box.hidden-upper-border .widget-control-panel {
    left: -1009px;
    right: auto;
    position: fixed;
    top: 100px;
}

.element-box.hidden-upper-border-bottom .widget-control-panel {
    bottom: -2px;
    top: auto;
}


.element-box .widget-control-panel .control.w-crop { display: none}

#main-blog-content .element-box.hover .widget-control-panel { display: block; }
#main-blog-content.dark .element-box.hover .widget-control-panel {
    padding-bottom: 42px;
}

#post-content .element-box.new .element { width: 100%; /* background-color: #ffffff !important; */ }
#post-content .element-box.new .element.post-break-line,
#post-content .element-box.new .element.simple-text,
#post-content .element-box.new .element.post-title {
    background-color: inherit !important;
}

.aside-image .si-template,
.aside-instagram .ai-template,
.simple-image .si-template,
.simple-video .sv-template,
.post-instagram .ai-template,
.post-gallery .pg-template  { background-color: #ffffff !important; }


/* Hidden upper vorder */
/*.element-box.hidden-upper-border .widget-control-panel .control {
    float: none;
    border: 1px solid #e7e7e7;
    border-left: none;
    position: absolute;
}
.element-box.hidden-upper-border .widget-control-panel .control.w-settings { border-top: none; margin-top: 30px; }
.element-box.hidden-upper-border .widget-control-panel .control.w-move {border-top: none; margin-top: 60px; }
.element-box.hidden-upper-border .widget-control-panel .control.w-crop {border-top: none; margin-top: 90px; }
*/

/* End Contol panel
================================= */


/* Settigns dialog */

.widget-settings-dialog, .photo-settings-dialog, #popup-crop-image { display: none; }
.widget-settings-dialog.open, .photo-settings-dialog.open, #popup-crop-image.open{
    background: #ffffff;
    display: block;
    right: 10px;
    margin-left: -235px;
    position: fixed !important;
    top: 50%;
    overflow: hidden;
    z-index: 1000;
    border: 1px solid #c8c6c0;
    box-shadow: 5px 5px 5px rgba(200, 198, 192, 0.3);
    width: 475px;
}
.widget-settings-dialog .ui-widget-content{
    border-color: #c8c6c0;
}

.widget-settings-dialog.ui-draggable.open .settings-dialog-message {
    display: none;
}

.widget-settings-dialog.open .textbox,
.photo-settings-dialog.open .textbox {border-color: #c8c6c0; color: #313131; height: 24px; margin-top: -2px; padding: 2px 4px;}
.widget-settings-dialog.open .textarea {border-color: #c8c6c0; color: #313131; width: 100%; height: 400px; padding: 2px 4px; resize: none;}
.widget-settings-dialog.open p, .photo-settings-dialog.open p { margin: 0px; }

.widget-settings-dialog.open .controls-settings, .photo-settings-dialog.open .controls-settings {  float: right; position: relative; z-index: 1001; }
.widget-settings-dialog.open .settings-form, .photo-settings-dialog.open .settings-form { position: relative; z-index: 1000; }

.photo-settings-dialog.open { width: 450px; }
.photo-settings-dialog .setting-block .setting .image-title textarea {
    width: 390px;
    max-width: 390px;
    min-width: 390px;
    margin: 0px;
    height: 45px;
    padding: 10px;
    min-height: 45px;
    max-height: 45px;
    resize: none;
    float: left;
    font-size: 10px;
}
.photo-settings-dialog .settings-box .setting-block.s-colorpicker,
.photo-settings-dialog .settings-box .setting-block.s-select[data-name="fontSize"] { width: 215px; }
.photo-settings-dialog label { float: left; margin-right: 15px; margin-top: 2px; }
.photo-settings-dialog .title-color input,
.photo-settings-dialog .title-color,
.photo-settings-dialog .miniColors-trigger { float: left; }
.photo-settings-dialog .miniColors-trigger {margin: 0 0 0 5px;}
.photo-settings-dialog .title-color label,
.photo-settings-dialog .title-font-size label {color: #949292;}
.photo-settings-dialog .s-colorpicker .setting {margin: 0px 0px 0px 30px; padding-top: 15px; width: auto;}
.photo-settings-dialog .s-select .setting {margin: 0px; padding-top: 15px;}
.photo-settings-dialog .title-font-size .sbHolder {float: left; width: 143px; height: 21px; border-color: #c8c6c0;}
.photo-settings-dialog .title-font-size .sbOptions {width: 143px;}
.photo-settings-dialog .title-font-size .sbHolder {float: left; width: 143px; height: 21px; border-color: #c8c6c0;}
.photo-settings-dialog .title-font-size .sbOptions {width: 143px; max-height: 165px !important;}


#popup-crop-image {
    position: relative;
}

.ui-dialog.crop-image {
    height: 96% !important;
    width: 96% !important;
    max-width: 1190px !important;
    max-height: 700px !important;
}
.ui-dialog.crop-image.crop-image-hide {
    visibility: hidden;
}

#popup-crop-image .popup-crop-image-header {
    height: 50px; width: 100%; background: #f6f6f6;
    box-sizing: border-box; padding-left: 33px;
    color: #4c4c4c;
    font-family: Verdana;
    font-size: 15px;
    line-height: 50px;
    letter-spacing: 0;
    position: relative;
    border-bottom: 1px solid #e7e7e7;
    font-weight: 700;
}
#popup-crop-image .popup-crop-image-header .popup-crop-image-header-close {
    width: 49px; height: 49px; position: absolute; right: 0px; background: #f0f0f0; top: 0; border-left: 1px solid #e7e7e7;
}
#popup-crop-image .popup-crop-image-header .popup-crop-image-header-close > a {
    display: block;
    line-height: 49px;
    width: 49px;
    text-align: center;
}
#popup-crop-image .popup-crop-image-content {
    height: 100%;
    margin-top: -50px;
    padding: 84px 0px 34px 34px;
}
#popup-crop-image  .popup-crop-image-preview-wrap {
    border: 1px solid #e7e7e7;
    width: 1px;
    height: 100%;
    float: left;
    padding: 3px;
    text-align: center;
    display: flex;
    align-items: flex-start;
}
#popup-crop-image  .popup-crop-image-preview-wrap > img {
    max-width: 100%;
    max-height: 100%;
    visibility: hidden;
}
#popup-crop-image  .popup-crop-image-preview-wrap > .jcrop-holder {
    margin: auto;
}
#popup-crop-image  .popup-crop-image-buttons {
    height: 100%;
    width: 250px;
    padding: 0 50px;
    float: right;
}
#popup-crop-image  .popup-crop-image-buttons > div {
    width: 100%;
    height: 14.2857142%;
    position: relative;
}
#popup-crop-image .popup-crop-image-buttons > div.icon {
    border: 1px solid #ffffff;
    text-align: center;
    display: flex;
    display: -webkit-flex;
    cursor: pointer;
}
#popup-crop-image .popup-crop-image-buttons > div.icon > div {
    margin: auto;
}
#popup-crop-image .popup-crop-image-buttons > div.icon.active {
    background: #f6f6f6;
    border: 1px solid #f6f6f6;
}

#popup-crop-image .popup-crop-image-buttons > div.icon > div > svg {
    margin: 0 auto 10px auto;
    display: block;
}
#popup-crop-image .popup-crop-image-buttons > div.icon:hover {
    border: 1px solid #e7e7e7;
}
#popup-crop-image-save {
    width: 100%; height: 40px; position: absolute; bottom: 0;
    background: #4c4c4c; color: #fff; text-transform: uppercase;
    font-size: 13px; font-family: Verdana;
}

#popup-crop-image-save.disable {
    background: #cccccc;
}

/* Fullscreen settings dialog
================================ */
.widget-settings-dialog.open.fullscreen {
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    width: 100%;
    height: 100%;
    max-height: 100%;
}

.widget-settings-dialog.open.fullscreen .setting-block { height: 100%; }
.widget-settings-dialog.open.fullscreen .settings-controls {
    background: white;
    bottom: 0;
    position: fixed;
}

.setting-post-gallery .title-row .anchor-fullscreen {
    background: #f8f8f8 url(../images/widgets-dialogs-settings/anchor-fullscreen.png) 0px 0px no-repeat;
    cursor: pointer;
    float: right;
    height: 12px;
    margin-top: -10px;
    padding-right: 20px !important;
    width: 12px;
}

.widget-settings-dialog.open.fullscreen .title-row .anchor-fullscreen {

    background: #f8f8f8 url(../images/widgets-dialogs-settings/anchor-fullscreen.png) 0px -12px no-repeat;
}

.widget-settings-dialog.open .settings-box .post-gallery-title-row {
    background: #f8f8f8;
    border-bottom: 1px solid #c8c6c0;
    cursor: move;
    float: left;
    padding: 19px 30px 17px;
}


.settings-box .widget-icon img { width: 18px; float: left; }

.controls-settings .close{
    background: rgba(0,0,0,0) url(../images/b-controls.png) no-repeat;
    background-position: 0px -90px;
    cursor: pointer;
    position: absolute;
    height: 36px;
    width: 36px;
    right: 20px;
    top: 15px;
}

.settings-box .title-row {
    background: #f8f8f8;
    border-bottom: 1px solid #e7e7e7;
    float: left;
    padding:19px 30px 17px;
    /*width: 410px;*/
    width: 100%;
    cursor: move;
}
.settings-box .title-row h2.title {
    color: #848484;
    float: left;
    font-size: 14px;
    font-weight: normal;
    line-height: 13px;
    padding: 0px;
    margin: 0px;
    text-transform: uppercase;
    vertical-align: middle;
}

.setting-block > *, .setting-block h3.setting-title  { font-size: 12px; }
.setting-block h1, .setting-block h2, .setting-block h3 {margin: 0px}
.setting-block.input h3.setting-title { line-height: 12px; }

.setting-block h3.setting-title {
    color: #000000;
    font-weight: normal;
    line-height: 12px;
    padding: 0px;
    margin-bottom: 12px;
}
.setting-block h3.setting-title.replace-image-title {
    float: left;
    margin: 10px 15px 12px 0px;
}
.setting-block.s-slider h3.setting-title,
.setting-block.s-checkbox-line h3.setting-title,
.setting-block.s-post-break-line-checkbox-line h3.setting-title { margin-bottom: 10px; }

.setting-block .setting {
    margin: 0px 30px;
    padding: 28px 0px 0px;
    overflow: visible;
    float: left;
    position: relative;
    width: 390px;
    /*border-bottom: 1px solid #c8c6c0;*/
}

.settings-box .setting-block { width: 100%; }

.setting-simple-text .setting-block .setting,
.setting-quote .setting-block .setting {
    padding: 28px 0px;
    border-bottom: 1px solid #e4e4e4;
}
.setting-quote .setting-block#width-pc .setting {
    padding-bottom: 20px;
    border-bottom: none;
}
.setting-quote .setting-block[data-name="align"] .setting {
    padding-top: 0;
}
.setting-quote .setting-block[data-name="align"] .setting label {
    float: left;
    margin-top: 2px;
    margin-right: 17px;
}

.group-setting .setting {
    border: none !important;
    padding-bottom: 0px !important;
}

.setting-block .setting-description { color: #8b8a8a; margin-bottom: 25px; }

.setting-block .checkbox-line {
    float: none;
    width: 100%;
}
.setting-block .checkbox-line label {
    float: none;
}

.setting-block.input .setting .checkbox-line {
    margin-bottom: 10px;
}

.setting-block label.checkbox span.holder {
    background: url(../images/checkbox-blog.png) 0 0 no-repeat;
}
.setting-block .checkbox-with-slider input,
.settings-box .setting-block { float: left; }

.setting-block .checkbox-line input:checked+label,
.setting-block .checkbox-with input:checked+label,
.setting-block .checkbox-with-color input:checked+label,
.setting-block .checkbox-with-slider input:checked+label  { color: #191919;}

.setting-block .checkbox-line input { margin: 0px 10px 0px 0px; }
.setting-block .checkbox-with, .setting-block .checkbox-with-color { margin-top: 20px; }

.setting-block .checkbox-line label { color: #8b8a8a; margin-right: 5px; margin-left: 15px; line-height: 12px; }
.setting-block .checkbox-line label.first { margin-left: 0px; }

.setting-block .sbHolder {border-color: #c8c6c0; height: 23px; float: left;}
.setting-block .sbOptions li, .setting-block .sbSelector {font-size: 10px; color: #313131;}
.setting-block .sbOptions { max-height: 250px !important; }
.setting-block .sbOptions .sbGroup {color: #313131;}
.setting-block .sbToggle,
.setting-block .sbSelector { height: 21px; }
.setting-block .sbSelector {
    width: calc(100% - 23px - 10px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.additional-settings {
    float: left;
}

.additional-settings-wrapper>div {
    float: left;
    width: 100%;
    margin-bottom: 19px;
}
.additional-settings h3 {
    float: left;
    margin-right: 15px !important;
    padding-top: 5px !important;
    font-size: 12px;
    font-weight: normal;
    line-height: 12px;
    color: #949292;
}
.additional-settings .setting-title {
    margin: 25px 30px 30px !important;
    padding-top: 33px !important;
    width: 410px;
    color: #000000;
    border-top: 1px solid #e4e4e4;
}

.additional-settings-wrapper .setting {
    border: none;
    padding: 0px;
}
.additional-settings-wrapper .elements-color input {
    float: left;
    color: #313131;
}
.additional-settings-wrapper .elements-thickness input {
    margin-top: 0px;
}
.additional-settings-wrapper {
    color: #8b8a8a;
}
.additional-settings-wrapper .elements-thickness  input:checked+label{
    color: #191919;
}
.additional-settings-wrapper .title-font,
.additional-settings-wrapper #line-width,
.additional-settings-wrapper .s-post-title-checkbox,
.additional-settings-wrapper .select-align {
    margin-bottom: 0px;
}
.additional-settings-wrapper .title-font .setting {
    margin-top: 8px;
    margin-bottom: 40px !important;
}
.additional-settings-wrapper .title-font select {
    margin-top: 5px;
}
.additional-settings .setting {
    padding: 0px !important;
    border: none !important;
}

.additional-settings .checkbox-line {
    width: auto;
    margin-top: 5px;
}

.clear.image-lay {
    margin-bottom: 12px;
    clear: left;
}
.setting-post-title .clear.image-lay { margin-bottom: 11px; }

.setting-block.input  input[type="text"],
.setting-block.input  .replace-image {
    width: 100% !important;
}
.setting-block .replace-image,
.setting-block .setting-field {
    float: left;
}

.fileform {
    background-color: #ffffff;
    border: 1px solid #c5c5c5;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    text-align: left;
    vertical-align: middle;
    max-width: 290px;
    line-height: 1;
    margin: 0px auto;
    padding: 10px;
}

.element.post-gallery .fileform,
.element.simple-image .fileform {
    max-width: 190px;
}

.fileform:hover, .block-choice-template:hover, .placeholder-composite-button:hover {
    border-color: #4b4b4b !important;
}

.fileform:hover .selectbutton, .block-choice-template:hover .selectbutton {
    color: #4c4c4c;
}

.sv-templ-form-box .fileform {
    margin: 0px 0px 0px 15px;
    padding: 10px 20px;
    text-transform: uppercase;
    float: left;
    width: 120px;
}

.aside-box .aside-image .fileform  { padding: 10px; background-color: #FFFFFF; max-width: 190px; }
.aside-box .aside-image .fileform .selectbutton  { background-color: #FFFFFF; }

.fileform.replace {
    margin: 0px;
    width: 120px;
    padding: 10px;
}

.fileform .selectbutton, .block-choice-template .selectbutton {
    background: #ffffff;
    color: #4b4b4b;
    font-size: 10px;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
    width: 100%;
}

.element .fileform .selectbutton {
    text-transform: uppercase;
}

.fileform .b-send-file{
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    font-size: 0;
    position: absolute;
    top: 0px;
    left: 0px;
}

.setting-block.input  input[type="checkbox"] {
    margin: 0px 10px 0px 0px;
}

.settings-box .setting-block:last-child .setting {
    padding-bottom: 0px;
    border-bottom: none;
}

.settings-controls {
    width: 100%;
    float: left;
}

.settings-controls .controls-wrapper {
    display: block;
    margin: 0px auto;
    width: 268px;
    overflow: hidden;
}

.settings-controls .b-save,
.settings-controls .b-cancel {
    background: #f9f9f9;
    border: 1px solid #c8c6c0;
    color: #4b4b4b;
    cursor: pointer;
    display: block;
    width: 126px;
    font-size: 12px;
    line-height: 10px;
    text-transform: uppercase;
    float: left;
    padding: 10px 24px;
    margin: 30px auto 30px;
}
.settings-controls .b-save:hover,
.settings-controls .b-cancel:hover {background: #ffffff;}

.settings-controls .b-save {
    margin-right: 10px;
}

/* s-slider */
.s-slider .slider { float: left; }
.setting-block .slider #column-gap { color: #000000; }
.setting-block .slider { float: left; }


/* s-colorpicker */
#backgroundColor .miniColors-trigger {
    position: absolute;
    padding: 1px 0px;
}
#background-color .miniColors-trigger { float: left; margin-left: 5px; }
input:checked ~ label .miniColors-trigger { opacity: 1 !important; }
input:checked ~ label .backgroundcolor  { color: #191919 !important;}
#background-color {
    float: none;
    margin-left: 12px;
    margin-top: -4px;
    width: auto;
}
#background-color input {
    margin: 0px;
    color: #313131;
    height: 20px;
}


/* Gallery widget */

/* Upload files */
.setting-post-gallery .setting-block.input h3.setting-title {float: left; padding-right: 15px; padding-left: 5px; line-height: 34px; font-size: 10px; color: #868686; text-transform: uppercase; }
.setting-post-gallery .setting-block.input .replace-image {width: 215px !important;}
.setting-post-gallery .setting-block .fileform.replace {width: 100%;max-width: 100%;}
.setting-post-gallery .sizes .setting { padding-top: 40px; margin-bottom: 22px !important; }

.photo-settings-dialog .image-link label {margin-top: 7px; margin-right: 8px;}
.photo-settings-dialog .image-link > span {float: left; margin-top: 6px; font-size: 11px; color: #999999;}

/* Thumbs */
.s-thumbs-grid {
    height: 270px;
    padding-left: 15px;
    overflow-y: auto;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;
}

.s-thumbs-grid .blocks {
    margin-left: 0px;
    height: 100%;
}

.s-thumbs-grid .six-col .item {
    margin-left: 0px;
    margin-right: 40px
}

.s-thumbs-grid .six-col a.lnk-chain {
    right: -32px;
}

.s-thumbs-grid .gallery {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

/* Tabs */
.setting-post-gallery .title-row  {
    background: #f8f8f8;
    color: #848484;
    margin-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
}
.setting-post-gallery .title-row .title { padding-left: 30px !important; }

.widget-settings-dialog.ui-state-disabled {opacity: 1;}

.setting-post-gallery .settings-box .s-tabs {}
.setting-post-gallery .settings-box .s-tabs .tab {
    float: left;
    width: 50%;
    padding: 10px 10px 10px 15px;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid #d4d2cd;
    background: #f5f5f5;
    font-size: 11px;
    line-height: 11px;
    color: #b3b3b3;
}
.setting-post-gallery .settings-box .s-tabs .tab:first-child {border-right: 1px solid #d4d2cd}
.setting-post-gallery .settings-box .s-tabs .tab.active {
    border-bottom: 0px;
    background: #fff;
    color: #313131;
}
.setting-post-gallery .settings-box .tab-content {display: none;}
.setting-post-gallery .settings-box .tab-content.active {display: block;}
/* End Gallery widget */

/* Post Break Line */
.setting-block .checkbox-line label.first {margin-left: 0px;}
.line-type .sample {width: 73px; height: 10px; display: inline-block;}
.line-type .sample-1 { background: url(../images/sample-1-1.png) repeat-x; background-position-y: 5px; }
.line-type .sample-2 { background: url(../images/sample-1-2.png) repeat-x; background-position-y: 5px; }
.line-type .sample-3 { background: url(../images/sample-1-3.png) repeat-x; margin-right: 0px !important; background-position-y: 3px; }
.line-type .sample-4 { background: url(../images/sample-1-4.png) repeat-x; background-position-y: 3px; }
.line-type .sample-5 { background: url(../images/sample-1-5.png) repeat-x; background-position-y: 2px; }
.line-type .sample-6 { background: url(../images/sample-1-6.png) repeat-x; background-position-y: 1px; }

.line-type label {
    width: 80px;
    height: 10px;
    opacity: .7;
}

.line-type input:checked+label { opacity: 1; }

#line-width h3 { margin-bottom: 8px; }

.setting-post-break-line .elements-color input {height: 18px; padding: 0px 2px; font-size: 12px;}
.setting-post-break-line .miniColors-trigger { float: left; }
.setting-post-break-line .miniColors-trigger {margin: 0 0 0 5px;}

/* End Post Break Line */


/* End Post Vertical Break Line */
.line-type.vertical .sample { width: 92px; height: 62px; }
.line-type.vertical .sample-1 { background: url(../images/vertical-line-1.png) no-repeat; }
.line-type.vertical .sample-2 { background: url(../images/vertical-line-2.png) no-repeat; }
.line-type.vertical .sample-3 { background: url(../images/vertical-line-3.png) no-repeat; }
.line-type.vertical .sample-4 { background: url(../images/vertical-line-4.png) no-repeat; }
.line-type.vertical .sample-5 { background: url(../images/vertical-line-5.png) no-repeat; }
.line-type.vertical .sample-6 { background: url(../images/vertical-line-6.png) no-repeat; }

.line-type.vertical label { vertical-align: top; }

/* End Post Vertical Break Line */


/* Post Title */

.setting-post-title .s-colorpicker h3.setting-title { margin-bottom: 20px; }
.setting-post-title label { float: left; }
.setting-post-title .setting-block .setting { padding-top: 15px; }
.setting-post-title .setting-block .setting.padding-top-initial { padding-top: 28px; }
.setting-post-title .settings-box > .s-colorpicker .setting {padding-top: 25px;}
.setting-post-title select { width: 140px; }
.setting-post-title .decoration-type>label,
.setting-post-title .title-align>label { width: 100%; margin: 0 0 10px }
.setting-post-title .decoration-type .setting-field input,
.setting-post-title .title-style .setting-field input,
.setting-post-title .title-align .setting-field input { float: left; }
.setting-post-title .decoration-type .setting-field input,
.setting-post-title .title-style .setting-field input,
.setting-post-title .title-align .setting-field input { margin-top: 5px; }
.setting-post-title .title-color label, .setting-post-title .link-font label,
.setting-post-title .link-font-size label, .setting-post-title .title-align label,
.setting-post-title h3.link-font-size, .setting-post-title .title-style label,
.setting-post-title h3.align { color: #949292; }
.setting-post-title .setting-field input {height: 16px;}
.setting-post-title .title-color .miniColors-trigger { vertical-align: middle; margin: 0 0 0 5px; }
.setting-post-title .link-font .sbOptions,
.setting-post-title .link-font .sbHolder {width: 110px;}
.setting-post-title #letter-spacing .setting { padding-top: 28px; }
.setting-post-title #line-spacing .setting { padding-top: 22px; }

.widget-settings-dialog.setting-post-title .elements-thickness { padding-top: 10px; padding-bottom: 0; margin-bottom: 10px; }
.widget-settings-dialog.setting-post-title .elements-thickness h3 { padding-top: 8px !important; }

.decoration-type .setting-field div.sample,
.title-style .setting-field div.sample,
.title-align .setting-field div.sample { width: 70px; height: 25px; float: left; margin-right: 30px}
.decoration-type .sample-1 { background: url(../images/sample-1.png) repeat-x;  }
.decoration-type .sample-2 { background: url(../images/sample-2.png) repeat-x;  }
.decoration-type .sample-3 { background: url(../images/sample-3.png) repeat-x;  }
.decoration-type .sample-4 { background: url(../images/sample-4.png) repeat-x;  }
.decoration-type .sample-5 { background: url(../images/sample-5.png) repeat-x;  }
.decoration-type .sample-6 { background: url(../images/sample-6.png) repeat-x;  }
.decoration-type .sample-7 { background: url(../images/sample-7.png) repeat-x;  }
.decoration-type .sample-8 { background: url(../images/sample-8.png) repeat-x;  }
.decoration-type .sample-9 { background: url(../images/sample-9.png) no-repeat;  }
.decoration-type .sample-10 { background: url(../images/sample-10.png) no-repeat;  }

.s-post-title-style-buttons .setting label.custom { width: 23px; height: 23px; margin-right: -1px; border: 1px solid #c8c6c0; border-left-color: transparent; }
.s-post-title-style-buttons .setting label.custom.first { border-left-color: #c8c6c0; }
.s-post-title-style-buttons .setting label.custom:hover,
.s-post-title-style-buttons .setting input:checked+label,
.s-post-title-style-buttons .setting input:checked+label.first,
.s-post-title-style-buttons .setting label.custom.checked { border-color: #838383; }
.s-post-title-style-buttons .prettyCheckbox.style-bold,
.s-post-title-style-buttons .style-bold { background: url(../images/style-bold.svg) no-repeat; }
.s-post-title-style-buttons .prettyCheckbox.style-italic,
.s-post-title-style-buttons .style-italic { background: url(../images/style-italic.svg) no-repeat; }
.s-post-title-style-buttons .prettyCheckbox.style-underline,
.s-post-title-style-buttons .style-underline { background: url(../images/style-underline.svg) no-repeat; }
.s-post-title-style-buttons .prettyCheckbox.style-strike,
.s-post-title-style-buttons .style-strike { background: url(../images/style-strike.svg) no-repeat; }
.s-post-title-style-buttons .prettyCheckbox.style-tt,
.s-post-title-style-buttons .style-tt { background: url(../images/style-tt.svg) no-repeat; }
.post-title-title-align .setting-field div.sample { height: 25px; float: left; margin-right: 10px; }


.setting-block .decoration-type input:checked+label,
.setting-block .decoration-type input:checked+label+.sample {opacity: 1}
.setting-block .decoration-type .setting-field .sample {opacity: .7;}
.setting-block .decoration-type .setting-field label {opacity: .7; margin-top: 3px;}

.setting-post-title .title-link label {margin-top: 7px; margin-right: 8px;}
.setting-post-title .title-link>span {float: left; margin-top: 6px;  color: #999999;}

.setting-post-title .style-button {
    display: block;
    border: 1px solid #838383;
    width: 20px;
    height: 20px;
    line-height: 20px;
    background: #ffffff;
}
.setting-post-title .style-button.active {
    border: 1px solid #838383;
    width: 20px;
    height: 20px;
    box-shadow: inset 0 0 5px rgb(131, 131, 131);
    background: rgba(0, 0, 0, 0.2);
}

/* End Post Title */

/* Quote */

.setting-quote .decoration-type .setting-field * { display: inline-block; vertical-align: middle; }
.setting-quote .decoration-type .setting-field { float: none; }
.setting-quote .decoration-type > label { margin-bottom: 10px; }
.setting-quote .decoration-type div.quote { margin-right: 30px }
.setting-quote .decoration-type input:checked+label+.quote {opacity: 1}
.setting-quote .decoration-type .setting-field .quote {opacity: .7;}
.setting-quote .decoration-type .quote.standard { background: url(../images/quote-standard.svg) no-repeat; width: 15px; height: 9px; }
.setting-quote .decoration-type .quote.direct { background: url(../images/quote-direct.svg) no-repeat; width: 15px; height: 9px; }
.setting-quote .decoration-type .quote.line { background: #000000 no-repeat; width: 2px; height: 19px; }

.setting-quote .additional-settings .setting-title { padding-top: 0 !important; border-top: none}
.setting-quote .s-colorpicker label { float: left; margin-right: 15px; margin-top: 3px; }
.setting-block .decoration-type .setting-field input { display: none; }
.setting-block .decoration-type .setting-field.text label { margin-top: 0; }
.setting-block .decoration-type .setting-field.text div { margin-right: 15px; }

#post-content .element-box .element.quote.colorbg .blockQuote { padding: 20px; }
#post-content .element-box .element.quote .blockQuote,
#post-content .element-box .element.quote .blockQuote > * { display: inline-block; }
#post-content .element-box .element.quote .blockQuote > .quote { height: 100%; position: absolute; vertical-align: top; margin-right: 10px; margin-top: 2px; margin-bottom: -2px; }
#post-content .element-box .element.quote .blockQuote > .quote.standard { width: 21px; background-repeat: no-repeat !important; }
#post-content .element-box .element.quote .blockQuote > .quote.direct { width: 19px; background-repeat: no-repeat !important; }
#post-content .element-box .element.quote.colorbg .blockQuote > .quote.line { height: calc(100% - 40px); }
#post-content .element-box .element.quote .blockQuote > .quote.standard + .text-box { margin-left: 36px; width: calc(100% - 36px); }
#post-content .element-box .element.quote .blockQuote > .quote.direct + .text-box { margin-left: 34px; width: calc(100% - 34px); }
#post-content .element-box .element.quote .blockQuote > .quote.line { margin: 0; width: 3px; }
#post-content .element-box .element.quote .blockQuote > .quote.line.size1  { width: 1px; }
#post-content .element-box .element.quote .blockQuote > .quote.line + .text-box { margin-left: 16px; width: calc(100% - 16px); }
#post-content .element-box .element.quote .blockQuote > .quote.line.size2  { width: 2px; }
#post-content .element-box .element.quote .blockQuote > .quote.line + .text-box { margin-left: 17px; width: calc(100% - 17px); }
#post-content .element-box .element.quote .blockQuote > .quote.line.size3  { width: 3px; }
#post-content .element-box .element.quote .blockQuote > .quote.line + .text-box { margin-left: 18px; width: calc(100% - 18px); }

#post-content .element-box .element.quote.align-left { text-align: left; }
#post-content .element-box .element.quote.align-right { text-align: right; }
#post-content .element-box .element.quote.align-center { text-align: center; }

#post-content .element-box .element.quote.scale-small .blockQuote > .quote.standard { width: 16px; }
#post-content .element-box .element.quote.scale-small .blockQuote > .quote.standard + .text-box  { margin-left: 31px; width: calc(100% - 31px); }
#post-content .element-box .element.quote.scale-large .blockQuote > .quote.standard { width: 32px; height: 20px; background-size: cover !important;}
#post-content .element-box .element.quote.scale-large .blockQuote > .quote.standard + .text-box  { margin-left: 47px; width: calc(100% - 47px); }
#post-content .element-box .element.quote.scale-small .blockQuote > .quote.direct { width: 14px; }
#post-content .element-box .element.quote.scale-small .blockQuote > .quote.direct + .text-box  { margin-left: 29px; width: calc(100% - 29px); }
#post-content .element-box .element.quote.scale-large .blockQuote > .quote.direct { width: 29px; }
#post-content .element-box .element.quote.scale-large .blockQuote > .quote.direct + .text-box  { margin-left: 44px; width: calc(100% - 44px); }

#post-content .element-box .element.quote { text-align: center; }
#post-content .element-box .element.quote .blockQuote { text-align: left; width: 100%; position: relative; }
#post-content .element-box .element.quote.transparentbg .blockQuote { background: transparent !important; }
#post-content .element-box .element.quote .blockQuote > .text-box { word-break: break-word; }
#post-content .element-box .element.quote .blockQuote > .text-box > p { margin-bottom: 0; }
#post-content .element-box.new .element.quote,
#post-content .element-box.new .element.post-indent
{ background: transparent !important; }
/* End Quote */

/* Aside Title */

.s-aside-title .s-colorpicker h3.setting-title { margin-bottom: 20px; }
.s-aside-title label { float: left; margin-right: 15px; margin-top: 3px; }
.s-aside-title .setting-block .setting { padding-top: 12px; }
.s-aside-title .settings-box > .s-colorpicker .setting {padding-top: 25px;}
.s-aside-title select { width: 140px; }
.s-aside-title .decoration-type>label { width: 100%; margin: 4px 0 10px; }
.s-aside-title .decoration-type .setting-field input { float: left; }
.s-aside-title .decoration-type .setting-field input { margin-top: 5px; }
.s-aside-title .title-color label, .s-aside-title .link-font label,
.s-aside-title .link-font-size label, .s-aside-title .title-align label { color: #949292; }
.s-aside-title .setting-field input {height: 16px;}
.s-aside-title .title-color .miniColors-trigger { vertical-align: middle; margin: 0 0 0 5px; }
.s-aside-title .link-font .sbHolder,
.s-aside-title .title-align .sbHolder,
.s-aside-title .link-font .sbOptions,
.s-aside-title .title-align .sbOptions {width: 138px;}
.s-aside-title .title-color .sbHolder,
.s-aside-title .title-color .sbOptions,
.s-aside-title .link-font-size .sbHolder,
.s-aside-title .link-font-size .sbOptions {width: 144px;}

/* End Aside Title */

/* Post Link More */
.setting-post-link-more .s-text h3.setting-title { margin-bottom: 8px; }
.setting-post-link-more .s-text .link-text { width: 410px; float: left; }
.setting-post-link-more .s-text .link-text .setting-field { width: 345px; }
.setting-post-link-more .s-text .link-text input { width: 321px; font-size: 11px; height: 18px; }

.setting-post-link-more .s-colorpicker { width: 205px; }
.setting-post-link-more .s-select[data-name="fontSize"] { width: 225px; }
.setting-post-link-more .s-colorpicker .link-color { float: left; width: 160px; }
.setting-post-link-more .s-colorpicker .setting,
.setting-post-link-more .s-select .setting { padding-top: 12px; width: auto; }
.setting-post-link-more .link-font-size { float: left; }
.setting-post-link-more .s-select[data-name="fontSize"] .setting { margin: 0px; }
.setting-post-link-more .link-font-size .sbHolder,
.setting-post-link-more .link-font-size .sbOptions {  width: 145px; }
.setting-post-link-more label { float: left; margin-right: 15px; margin-top: 2px; }
.setting-post-link-more .s-colorpicker .miniColors-trigger { vertical-align: middle; margin: 0 0 0 5px; }

.setting-post-link-more .link-font-type .setting-field{ float: left; }
.setting-post-link-more .link-font-type .sbHolder,
.setting-post-link-more .link-font-type .sbOptions { width: 319px; }

.setting-post-link-more .additional-settings .select-align .sbHolder,
.setting-post-link-more .additional-settings .select-align .sbOptions {width: 143px;}


/* End Post Link More */

/* Simple Image */
.setting-simple-image {
    width: 450px !important;
}
.setting-simple-image .setting-block .setting {
    width: 390px;
}
.setting-simple-image .settings-box .title-row {
    margin-bottom: 0px;
    width: 100%;
}
.setting-simple-image .setting-block .setting .image-title textarea {
    width: 100%;
    margin: 0px;
    height: 25px;
    padding: 10px;
    min-height: 45px;
    max-height: 45px;
    resize: none;
    float: left;
    font-size: 10px;
}
.setting-simple-image .s-colorpicker,
.setting-simple-image .s-select[data-name="fontSize"] { width: 215px; }
.setting-simple-image .title-color input,
.setting-simple-image .title-color,
.setting-simple-image .miniColors-trigger { float: left; }
.setting-simple-image .miniColors-trigger {margin: 0 0 0 5px;}
.setting-simple-image .title-color label,
.setting-simple-image .title-font-size label,
.setting-post-link-more label {color: #949292;}
.setting-simple-image label { float: left; margin-right: 15px; margin-top: 2px; }
/*.setting-simple-image .s-select .setting {margin: 0px; padding-top: 15px;}*/
.setting-simple-image .s-colorpicker .setting {margin: 0px 0px 0px 30px; /*padding-top: 15px; width: auto;*/}
.setting-simple-image .s-select select {width: 145px; font-size: 10px; height: 22px;}
.setting-simple-image .title-font-size .sbHolder {float: left; /*width: 143px;*/ height: 23px; border-color: #c8c6c0;}
.setting-simple-image .image-link label,
.s-aside-image .image-link label {margin-top: 7px; margin-right: 8px;}
.setting-simple-image .image-link>span,
.s-aside-image .image-link>span {float: left; margin-top: 6px;  color: #999999;}
.setting-simple-image .ri-block h3.setting-title {float: left; margin: 10px 15px 12px 0px;}
.setting-simple-image .fileform.replace {width: 206px; padding: 10px 58px;}
.setting-simple-image .setting-block:last-child .setting {margin-bottom: 0px;}
.setting-simple-image label.prettyCheckbox span.holderWrap { height: 14px !important; }

.setting-simple-image.sbHolder { width: 150px; }
.setting-simple-image .minicolors input.textbox { width: 124px; }

/* End Simple Image */


@media screen and (-webkit-min-device-pixel-ratio:0) {
    .setting-simple-image .fileform.replace {width: 210px; padding: 10px 60px !important;}
}

/* Aside panel in Blog*/
.widget-settings-dialog.s-aside-image .fileform.replace {width: 206px; padding: 10px 58px;}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    .widget-settings-dialog.s-aside-image .fileform.replace {width: 210px; padding: 10px 60px !important;}
}
/* End Aside panel in Blog*/


/* End Settigns dialog */

.post-preview-general div.preview-example img {
    max-width: none;
}
.post-preview-general a.lnk-close {
    vertical-align: top;
    margin-left: 10px;
    margin-top: 10px;
}
.post-preview-general .preview-block {
    margin-bottom: 10px;
}
.post-preview-general .toltip-box {
    padding-bottom: 0px;
}
.post-preview-general input[type="submit"] {
    margin-top: 30px;
}
.post-preview-general #target {
    opacity: 0;
}

/* Remove widget box */
.blog-dialog,
.blog-settings-confirm,
.remove-widget,
.plan-post,
.add-form-field,
.add-social-icons {
    position: fixed;
    background: #ffffff;
    border-radius: 0px;
    border-color: #c8c6c0;
    padding: 0px;
    width: 320px !important;
    height: auto !important;
    -webkit-box-shadow: -3px 2px 9px 0px rgba(151, 150, 148, 0.5);
    -moz-box-shadow:    -3px 2px 9px 0px rgba(151, 150, 148, 0.5);
    box-shadow:         -3px 2px 9px 0px rgba(151, 150, 148, 0.5);
    z-index: 1001;
}
.blog-dialog .ui-dialog-titlebar,
.remove-widget .ui-dialog-titlebar,
.plan-post .ui-dialog-titlebar,
.add-social-icons .ui-dialog-titlebar
{
    background: #f8f8f8;
    border-radius: 0px;
    color: #848484;
    font-weight: normal;
    border-color: transparent;
    font: 14px Verdana,sans-serif;
    padding: 18px 30px 15px;
    line-height: 11px;
    border-bottom: 1px solid #c8c6c0;
    display: block;
}
.blog-settings-confirm .ui-dialog-titlebar { display: none; }

.blog-dialog .ui-dialog-titlebar-close,
.remove-widget .ui-dialog-titlebar-close,
.plan-post .ui-dialog-titlebar-close,
.add-form-field .ui-dialog-titlebar-close,
.add-social-icons .ui-dialog-titlebar-close
{
    display: none;
}
.blog-dialog .ui-dialog-content,
.blog-settings-confirm .ui-dialog-content,
.remove-widget .ui-dialog-content,
.add-social-icons .ui-dialog-content,
.add-form-field .ui-dialog-content,
.plan-post .ui-dialog-content {
    padding: 37px;
    background: #ffffff;
    color: #848484;
    font-size: 15px;
    line-height: 15px;
}
.blog-dialog .ui-dialog-buttonpane,
.blog-settings-confirm .ui-dialog-buttonpane,
.remove-widget .ui-dialog-buttonpane,
.add-social-icons .ui-dialog-buttonpane,
.add-form-field .ui-dialog-buttonpane,
.plan-post .ui-dialog-buttonpane {
    padding: 0px;
    margin: 0px;
    background: transparent;
    border: none;
}
.blog-dialog .ui-dialog-buttonpane .ui-dialog-buttonset,
.blog-settings-confirm .ui-dialog-buttonpane .ui-dialog-buttonset,
.remove-widget .ui-dialog-buttonpane .ui-dialog-buttonset,
.add-social-icons .ui-dialog-buttonpane .ui-dialog-buttonset,
.add-form-field .ui-dialog-buttonpane .ui-dialog-buttonset,
.plan-post .ui-dialog-buttonpane .ui-dialog-buttonset {
    float: none;
    margin: 0 auto 25px;
    display: table;
    margin-left: 30px;
}
.blog-dialog .ui-dialog-buttonpane button,
.blog-settings-confirm .ui-dialog-buttonpane button,
.remove-widget .ui-dialog-buttonpane button,
.add-social-icons .ui-dialog-buttonpane button,
.add-form-field .ui-dialog-buttonpane button,
.plan-post .ui-dialog-buttonpane button {
    min-height: 32px;
    height: 100%;
    width: 120px;
    border-radius: 0px;
    background: #f9f9f9;
    border: 1px solid #c8c6c0;
    margin: 0px;

}
/* fix mozilla */
.plan-post .ui-dialog-buttonpane button:first-of-type {
    width: auto!important;
}
.blog-dialog .ui-dialog-buttonpane button:hover,
.blog-settings-confirm .ui-dialog-buttonpane button:hover,
.remove-widget .ui-dialog-buttonpane button:hover,
.add-social-icons .ui-dialog-buttonpane button:hover,
.add-form-field .ui-dialog-buttonpane button:hover,
.plan-post .ui-dialog-buttonpane button:hover{
    background: transparent;
}
.blog-dialog .ui-dialog-buttonpane button {
    width: auto;
}
.blog-dialog .ui-dialog-buttonpane button.ui-state-hover,
.blog-dialog .ui-dialog-buttonpane .ui-state-focus,
.blog-settings-confirm .ui-dialog-buttonpane button.ui-state-hover,
.blog-settings-confirm .ui-dialog-buttonpane .ui-state-focus,
.remove-widget .ui-dialog-buttonpane button.ui-state-hover,
.remove-widget .ui-dialog-buttonpane .ui-state-focus,
.add-social-icons .ui-dialog-buttonpane button.ui-state-hover,
.add-social-icons .ui-dialog-buttonpane .ui-state-focus,
.add-form-field .ui-dialog-buttonpane button.ui-state-hover,
.add-form-field .ui-dialog-buttonpane .ui-state-focus,
.plan-post .ui-dialog-buttonpane button.ui-state-hover,
.plan-post .ui-dialog-buttonpane .ui-state-focus {
    /*background: rgba(200, 198, 192, 0.3);*/
    color: #4c4c4c;
}
.blog-dialog .ui-dialog-buttonpane button,
.blog-settings-confirm .ui-dialog-buttonpane button:first-child,
.remove-widget .ui-dialog-buttonpane button:first-child,
.add-social-icons .ui-dialog-buttonpane button:first-child,
.add-form-field .ui-dialog-buttonpane button:first-child,
.plan-post .ui-dialog-buttonpane button:first-child{
    margin-right: 10px;
    float: left;
}
.blog-dialog .ui-dialog-buttonpane button span,
.blog-settings-confirm .ui-dialog-buttonpane button span,
.remove-widget .ui-dialog-buttonpane button span,
.add-social-icons .ui-dialog-buttonpane button span,
.add-form-field .ui-dialog-buttonpane button span,
.plan-post .ui-dialog-buttonpane button span {
    line-height: 12px;
    padding: 6px;
    color: #4b4b4b;
    font: 12px Verdana,sans-serif;
}

.warning-copy-page .ui-dialog-content {
    font-size: 14px;
}
.status-copy-page .ui-dialog-title {
    line-height: 15px;
}
.status-copy-page {
    width: 340px !important;
}

.blog-settings-confirm {
    z-index: 1001;
}
/* End remove widget box */

.wp100 {width: 100%}
.w110 {width: 110px}
.w130 {width: 130px}
.w160 {width: 160px}
.wp30 {width: 30%}
.wp40 {width: 40%}
.wp45 {width: 45%}
.wp50 {width: 50%}
.wp60 {width: 60%}
.wp70 {width: 70%}
.valign-top {vertical-align: top}


/* Plan post widget box */
.plan-post {
    width: 450px !important;
}
.plan-post .ui-dialog-content {
    font-size: 13px;
    color: #4c4c4c;
    padding: 27px 30px;
    font-family: Verdana;
}
.plan-post .plan-dialog-fields {
    margin-top: 15px;
}

.plan-post .plan-dialog-fields input {
    font-size: 13px;
    padding: 6px 8px;
    border: 1px solid #cbcbcb;
    font-family: Verdana;
    color: #646464;
    height: 30px;
    box-sizing: border-box;
}
.plan-post .plan-dialog-fields #post-plan-date {
    width: 120px;
    margin-right: 15px;
    background: url('../../static/images/calendar-icon.png') 94px 3px no-repeat;
    cursor: pointer;
}
.plan-post .plan-dialog-fields #post-plan-date:hover {
    background: url('../../static/images/calendar-icon-hover.png') 94px 3px no-repeat;
}
.plan-post .plan-dialog-fields #post-plan-time { width: 57px; }

.valid-note[label=post-plan-valid-date] { margin: 10px 0; }

/* End plan post widget box */


/* datepicker */
.ui-datepicker {
    font-family: Verdana;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    padding: 0;
    margin-top: 3px;
    width: 250px;
}
.ui-datepicker .ui-corner-all,
.ui-datepicker .ui-corner-bottom,
.ui-datepicker .ui-corner-right,
.ui-datepicker .ui-corner-br {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}
.ui-datepicker .ui-widget-header {
    background: #4c4c4c;
    font-weight: normal;
    border: none;
    font-size: 15px;
}
.ui-datepicker .ui-datepicker-header {
    padding: 7px 0;
}
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    top: 9px;
    cursor: pointer;
}
.ui-datepicker .ui-datepicker-prev {
    left: 2px !important;
}
.ui-datepicker .ui-datepicker-next {
    right: 2px !important;
}
.ui-datepicker th {
    font-weight: normal;
    padding: 10px 5px;
    /* text-transform: uppercase; */
}
.ui-datepicker tbody {
    background :#ffffff;
}
.ui-datepicker .ui-icon-circle-triangle-w {
    background: url('../../static/images/calendar-arrow-l.png') 0 0 no-repeat;
}
.ui-datepicker .ui-icon-circle-triangle-e {
    background: url('../../static/images/calendar-arrow-r.png') 0 0 no-repeat;
}
.ui-datepicker .ui-state-hover .ui-icon {
    /*background-image: url('../../static/images/calendar-arrow.png')*/
}
.ui-datepicker table {
    margin: 0;
}
.ui-datepicker td {
    text-align: center;
}
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default  {
    /*border: none;
    background: inherit;*/
    color: #4c4c4c;
}
.ui-state-hover,
.ui-widget-content .ui-state-hover {
    background: #f1f1f1;
    color: #4c4c4c;

}
.ui-widget-header .ui-state-hover {
    border: none;
    background: inherit;
}
.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
    background: #4c4c4c;
    color: white;
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
    background: #9fa860;
    color: white;
}
.ui-datepicker td span,
.ui-datepicker td a {
    display: inline-block;
    text-align: center;
    width: 26px;
    height: 25px;
    line-height: 25px;
}

/* BLog uploader dialog
====================================== */
.blog-upload-dialog {
    background: #ffffff;
    border: 0px;
    /*border: 1px solid #e0e0e0;*/
    border-radius: 0px;
    /*height: 140px !important;*/
    font-size: 13px;
    padding: 0px;
    margin: 0px;
    letter-spacing: 0.6px;
    width: 383px !important;
}

.blog-upload-dialog .ui-dialog-content {
    height: 100% !important;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
}

.blog-upload-dialog .dialog-border { background: #e0e0e0; position: absolute; }
.blog-upload-dialog .dialog-border.border-right { height: 140px; right: 0px; width: 1px; }
.blog-upload-dialog .dialog-border.border-left { height: 140px; left: 0px; width: 1px; }
.blog-upload-dialog .dialog-border.border-bottom { bottom: 0px; height: 1px; width: 383px; }

.blog-upload-dialog .ui-dialog-titlebar { display: none; }
.blog-upload-dialog .dialog-label { color: #5d5d5d; text-align: center; /*margin-top: 47px;*/ }
.blog-upload-dialog .dialog-filename { color: #9fa860; text-align: center; margin-top: 11px; }

.blog-upload-dialog .dialog-progressbar {
    border-radius: 0px;
    border: 0px;
    background: #5d5d5d;
    height: 4px !important;
    position: absolute;
    top: 0px;
    width: 383px !important;
}
.blog-upload-dialog .dialog-progressbar .ui-progressbar-value { background: #9fa860; }

/** Hide ckeditor buttons on post preview page */
div[data-behavior='post-preview'] #cke_text #cke_36,
div[data-behavior='post-preview'] #cke_text #cke_43 {
    display: none;
}


/** Hide ckeditor source dialog button label */
.cke_button_label.cke_button__sourcedialog_label {display: none !important;}

.input-block-blog{
    height: 30px;
}
.input-block-blog label{
    float: left;
    width: 20%;
    line-height: 30px;
    vertical-align: middle;
}
.input-block-blog input{
    float: right;
    width: 80%;
}
.gallery .controls {
    cursor: pointer;
}
.content-section{
    /*padding-bottom: 10px;*/
}

.post-body .post{
    margin-bottom: 0;
}

footer{
    height: 40px;
}

.widget-settings-dialog .gallery .item {
    height: 115px;
    width: 115px;
}

.layout-switcher label.custom.bg-radio-label.feed-sidebar {
    /*width: 29%;*/
}

.layout-switcher img.feed-sidebar {
    width: 98%;
}

#widgets.widget-position {
    margin-left: -5px;
}

.nav.nav-side a.front-design-link .lnk-show {
    background: url(../images/blog-feed-icons.png) no-repeat;
    background-position: 0px -36px;
    width: 12px;
    height: 20px;
    position: absolute;
    right: 9px;
    top: 11px
}

.nav.nav-side li a.front-design-link:hover .lnk-show {
    background-position: 0px -52px;
}

.settings-box .minicolors-position-bottom .minicolors-panel {
    top: 20px;
}

#post-content .element.simple-text .text-box ul {
    padding: 0 40px;
    margin: 0;
    list-style-position:  inside;
}

#post-content .element.simple-text .text-box ol {
    padding: 0 40px;
    margin: 0;
    list-style-position:  inside;
}

#post-content .element.simple-text .text-box.nocolumns ul,
#post-content .element.simple-text .text-box.nocolumns ol {
    margin: 1em 0;
}

.cke_combo__lineheight .cke_combo_text {
    width: 135px !important;
}
.cke_combo__letterspacing .cke_combo_text {
    width: 155px !important;
}
.cke_combo__fontsize .cke_combo_text {
    width: 105px !important;
}

.settings-box .minicolors-position-bottom .minicolors-panel {
    top: 20px;
}

.tree-item.image.image-clickable.slider .slider {
    border: 3px solid rgb(255, 255, 255);
    overflow: hidden;
    outline: rgb(203, 203, 203) solid 1px;
}
.content-body .hiddenCheckbox+label.slider-box {
    margin: 0 10px 14px 0;
}
#slider-buttons {
    width: 897px;
    position: fixed;
    bottom: 0px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 30px 20px;
    border-top: 1px solid #c8c6c0;
    z-index: 1;
}
#slider-buttons.bottom {
    position: absolute;
    width: 100%;
    bottom: auto;
}
.content-body.no-padding.no-bb .change-image {
    position: absolute;
    bottom: 0px;
    color: #fff;
    background-color: rgba(51,51,51,0.7);
    width: 100%;
    text-align: center;
    display: none;
}
.content-body.no-padding.no-bb .input-block.slider-check {
    margin-top: -2px;
}
#slider-items .content-body.no-padding.no-bb .col-2.slider  input.slider-input,
#slider-items .content-body.no-padding.no-bb .col-2.slider  .btn-group.bootstrap-select {
    width: 411px !important;
}
.content-body.no-padding.no-bb input.slider-input {
    display: inline-block;
    width: 91%;
}

#slider-items .two-col-form .form-row.clearfix {
    margin-bottom: 0px;
    margin-top: 0px;
}
#slider-items .two-col-form .form-row.clearfix:nth-child(2) div.text-label-one-line{
    line-height: 2.5em;
}
.content-body.no-padding.no-bb .tree-item.remove.slider,
.content-body.no-padding.no-bb .tree-sortable  .tree-item.move.slider {
    display: table-cell;
    vertical-align: middle;
    line-height: 272px;
}
.content-body.no-padding.no-bb .tree-item.remove.slider{width: 58px;}
.content-body.no-padding.no-bb .tree-sortable  .tree-item.move.slider {width: 47px;}
.content-body.no-padding.no-bb .tree-item.image.image-clickable.slider {
    padding: 25px 0px;
}
.content-body.no-padding.no-bb .tree-item.image.image-clickable.slider div.slider  {
    width: 221px;
    height: 221px;
    display: table-cell;
    background-color: #ebebeb;
}
.content-body.no-padding.no-bb .tree-item.image.image-clickable.slider div.slider>div{
    text-align: center;
}
.content-body.no-padding.no-bb .tree-item.image.image-clickable.slider div.slider  img.slider{
    max-width: 215px;
    max-height: 215px;
    vertical-align: middle;
    outline: none;
}
#slider-items .content-body.no-padding.no-bb .tree-item.name{margin-left: 30px; width: 541px !important;}
#slider-items .content-body.no-padding.no-bb .tree-item .two-col-form.settings-row.has-tooltip.clearfix.slider {
    width: 541px;
    max-width: 541px;
    padding-top: 15px;
}
#slider-items .content-body.no-padding.no-bb .tree-item.name .form-row .col-1.slider {width: 95px;text-align: left;}
#slider-items .content-body.no-padding.no-bb .tree-item.name .form-row .col-2.slider {width: 446px; padding-right: 0; float: left;}
#slider-items .content-body.no-padding.no-bb .tree-item.name .form-row .col-2.slider.pull-right{float: right;}

.content-body.no-padding.no-bb .text-label-one-line {
    line-height: 50px;
}
.content-body.no-padding.no-bb .col-2.input-block.slider div.tx-ar-resize,
.content-body.no-padding.no-bb .col-2.input-block.slider input {
    display: block;
    margin-top: 10px;
    text-overflow: ellipsis;
}
.content-body.no-padding.no-bb .bs-searchbox input {
    display: block;
    border: 1px solid #ccc;
}

.content-body.no-padding.no-bb .col-2.input-block.slider textarea,
.content-body.no-padding.no-bb .col-2.input-block.slider div.tx-ar-resize,
.content-body.no-padding.no-bb .col-2.input-block.slider div.tx-ar-resize p{
    outline: none;
    display: block;
    padding: 7px 10px 7px 10px;
    font-size: 13px;
    min-height: 31px;
    line-height: 19px;
    box-sizing: border-box;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.content-body.no-padding.no-bb .col-2.input-block.slider div.tx-ar-resize p{
    margin: 0;
    padding: 0;
}
.content-body.no-padding.no-bb .col-2.input-block.slider textarea{
    resize:none;
    overflow: hidden;
    width: 100%;
    height: 100%;
    line-height: 18px;
    position: absolute;
    text-overflow: ellipsis;
    top: 0px;
    left: 0px;
    opacity: 1;
    z-index: 1;
}
.content-body.no-padding.no-bb .col-2.input-block.slider div.tx-ar-resize{
    position:relative;
    width:auto;
    height:auto;
    margin-top: 0;
}
.content-body.no-padding.no-bb.no-blr {
    border-left: 0;
    border-right: 0;
}
.content-body.no-padding.no-bb.no-blr img.slider {
    border: 0;
}
#slider-items.blog-slider-items {
    border-top: 1px solid #e7e7e7;
}
#slider-items.tab-pane .buttons-at-top.in-tab-correct{
    padding: 32px 20px;
}
#slider-items.tab-pane .buttons-at-top.in-tab-correct.blog-slider-add-image {
    padding: 0px 30px 32px;
}
#slider-items .bg-image+.bg-radio-label .background img {
    width: 185px;
}
#slider-items .layout-switcher label.custom.bg-radio-label.feed-sidebar:last-child {
    margin-right: 0px;
}
#slider-items .content-body {
    padding-bottom: 0;
    position: relative;
}
#slider-items .content-body .tree-content:hover {
    margin-top: 0;
    border-top: transparent;
}
#slider-items #tree-body {
    height: auto !important;
}
section.content-section{padding-bottom: 102px;}

#slider-items .tree-item.remove.slider .controls {
    position: relative;
}

#slider-items .tree-item.remove.slider .controls a {
    border: 1px solid #e7e7e7;
    position: absolute;
    right: -1px;
    top: -1px;
    background-position: -1px -31px;
}
#slider-items .content-body.no-padding.no-bb .tree-item.remove.slider .controls,
#slider-items .content-body.no-padding.no-bb .tree-item.remove.slider{position: static;}
#slider-items .content-body.no-padding.no-bb .tree-content.clearfix{position: relative;}
#slider-items .content-body.no-padding.no-bb .tree-sortable:last-child .tree-content.clearfix { border-bottom: 0; }
#slider-items .content-body.no-padding.no-bb .tree-content:hover .tree-item.remove.slider .controls a{border-color: #d0d0d0;}

#post-content .simple-text .text-box p {
    margin-bottom: 0;
}

/*fixsection*/
/* [#112876695] */
body *[style*="url"]{image-rendering: auto;}

#informer-cover {
    position: fixed;
    bottom: 0;
    left: 0;
    top: 0;
    right: 0;
    background: rgba(30,30,30,0.4);
    z-index: 1000;
    display: none;
    zoom: 1;
}

/* fix blog ckeditor flashing by paste text - 114945603 */
#post-content body.cke_editable, #aside-content body.cke_editable { opacity: 0; }

.setting-post-map .setting .link-location label,
.s-aside-map .setting .link-location label {
    display: block;
    margin-bottom: 15px;
}
.setting-post-map .setting .link-location input,
.s-aside-map .setting .link-location input {
    width: 100%;
    background: #fff;
    padding-right: 35px;
}
.setting-post-map .setting .link-location .setting-field,
.s-aside-map .setting .link-location .setting-field {
    float: none;
}
.setting-post-map .setting .title-color label,
.s-aside-map .setting .title-color label {
    float: left;
    margin-right: 15px;
}
.setting-post-map .setting .checkbox-line label,
.s-aside-map .setting .checkbox-line label {
    float: left;
}
.search-wrap{
    position: relative;
}
.search-wrap .shadow-box{
    position: absolute;
    width: 43px;
    height: 26px;
    right: 1px;
    top: 1px;
    background: rgba(255,255,255,0.5) url("../images/search_icon.svg") no-repeat center;
}


/** Widget Template **/
.b-choice-template {
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    font-size: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.block-choice-template  {
    background-color: #ffffff;
    border: 1px solid #c8c6c0;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    text-align: left;
    vertical-align: middle;
    max-width: 180px;
    line-height: 12px;
    margin: 0 auto;
    padding: 10px;
    font-size: 15px;
}

.block-choice-template:hover .selectbutton {
    color: #4c4c4c;
}

.block-choice-template .selectbutton {
    background: #ffffff;
    color: #4b4b4b;
    font-size: 10px;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    text-transform: uppercase;
}

.si-post-template-label {
    width: 220px;
    margin: 20px auto;
    text-align: center;
    color: #949394;
    font-size: 11px;
}


/** Modal Widget Template */
.widget-settings-dialog.setting-post-template {
    max-width: 1196px;
    width: auto;
    height: 80%;
    z-index: 1011;
    max-height: inherit!important;
    min-height: 603px;
}

.widget-settings-dialog.setting-post-template .settings-controls {
    display: none;
}

.widget-overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 200%;
    left: 0;
    top: 0;
    z-index: 1001;
    background: rgba(0,0,0,0.3);
}

body.tutorial {
    overflow: hidden;
}

body.tutorial .widget-overlay {
    background: rgba(0,0,0,0.9);
}

body.tutorial #widgets-list .overlay {
    display: block;
    z-index: 1003;
}

body.tutorial .tutorial-text {
    position: absolute; top: 90px; z-index: 1002; color: #fff; font-family: verdana; font-size: 11px; text-align: center; width: 220px; left: -82px; display: none;
}

body.tutorial .tutorial-text .tutorial-text-header {
    padding-bottom: 20px;
}

body.tutorial .tutorial-text .tutorial-text-button {
    width: 148px; height: 52px; line-height: 52px; margin: 36px auto 0 auto; font-size: 11px; font-family: verdana; text-transform: uppercase; text-align: center; background: #fff; color: #010101;
    cursor: pointer;
}

body.tutorial.step-1 #widgets-list .list-templates .widget {
    z-index: 1002;
    position: relative;
}
body.tutorial.step-1 #widgets-list .list-templates .tutorial-text {
    display: block;
}

body.tutorial.step-2 #widgets-list .set-widgets .widget {
    z-index: 1002;
    position: relative;
}


body.tutorial.step-2 #widgets-list .set-widgets .tutorial-text {
    left: 0;
    width: 100%;
    display: block;
}

.widget-overlay.active{
    display: block;
}

.widget-settings-dialog.setting-post-template .post-templates-wrapper-parent{
    overflow: hidden;
    padding-right: 18px;
}
.widget-settings-dialog.setting-post-template .settings-box {
    overflow: hidden;
    height: 100%;
    max-height: 100%;
}

.widget-settings-dialog.setting-post-template.open {
    margin: 0 auto;
    left: 0;
    right: 0;
    background: #fcfcfc;
}

.widget-settings-dialog.setting-post-template .settings-box .title-row {
    padding: 2px 30px 7px;
    position: relative;
    background: #f6f6f6;
    font-size: 15px;
    cursor: inherit!important;
}

.widget-settings-dialog.setting-post-template .settings-box .title-row button.close {
    width: 50px;
    background: #f0f0f0;
    border-left: 1px solid #e7e7e7;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    opacity: 1;
}

.widget-settings-dialog.setting-post-template .settings-box .title-row button.close span {
    opacity: 0.2;
}

.widget-settings-dialog.setting-post-template .settings-box .title-row button.close:hover span {
    color: #9fa860;
    opacity: 1!important
}

.widget-settings-dialog.setting-post-template .settings-box .title-row h4 {
    float: left;
    padding-left: 5px;
    font-weight: bold;
    padding-top: 5px;
}

.widget-settings-dialog.setting-post-template .settings-box-content {
    padding: 0px 0px 0 35px;
    overflow-x: inherit!important;
    overflow-y: auto;
}

.widget-settings-dialog.setting-post-template .settings-box-content .left-nav-bar {
    position: fixed;
    width: 202px;
    padding: 13px 22px 0px 0px;
    font-size: 10px;
}
.widget-settings-dialog.setting-post-template .settings-box-content .left-nav-bar .head-list-link-wrap{
    border-bottom: 1px solid #e7e7e7;
    line-height: 35px;
    height: 45px;
    padding-left: 20px;
    padding-right: 5px;
    cursor: pointer;
    padding-top: 10px;
}
.widget-settings-dialog.setting-post-template .settings-box-content .left-nav-bar .head-list-link-wrap .head-list-link {
    display: block;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #858585;
    float: left;
}
.widget-settings-dialog.setting-post-template .settings-box-content .left-nav-bar .head-list-link-wrap:hover .head-list-link,
.widget-settings-dialog.setting-post-template .settings-box-content .left-nav-bar .head-list-link-wrap .head-list-link.active {
    color: #b9c481;
}

.widget-settings-dialog.setting-post-template .settings-box-content .left-nav-bar .head-list-link-wrap span{
    float: right;
    color: #bbb;
}
.widget-settings-dialog.setting-post-template .settings-box-content .left-nav-bar ul {
    margin-top: 10px;
    margin-bottom: 20px;
}

.widget-settings-dialog.setting-post-template .settings-box-content .left-nav-bar ul li {
    display: block;
    padding-left: 20px;
    padding-right: 5px;
    line-height: 35px;
    height: 35px;
    clear: both;
    cursor: pointer;
    font-size: 12px;
}

.widget-settings-dialog.setting-post-template .settings-box-content .left-nav-bar ul li a {
    float: left;
    color: #777777;
}

.widget-settings-dialog.setting-post-template .settings-box-content .left-nav-bar ul li a.active {
    color: #b9c481;
}

.widget-settings-dialog.setting-post-template .settings-box-content .left-nav-bar ul li:hover a {
    color: #b9c481;
}

.widget-settings-dialog.setting-post-template .settings-box-content .left-nav-bar ul li span {
    float: right;
    font-size: 10px;
    color: #777777;
    opacity: 0.5;
}

.widget-settings-dialog.setting-post-template .settings-box-content .post-templates-wrapper {
    padding-top: 35px;
    margin-left: 200px;
}

.widget-settings-dialog.setting-post-template .settings-box-content .post-template-wrap {
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    width: 50%;
    padding: 0px 15px 30px 15px;
}

.widget-settings-dialog.setting-post-template .settings-box-content .post-template-wrap img{
    display: block;
    width: 100%;
    height: auto;
    max-width: 430px;
    /*box-shadow: 0 0 0 1px #cbcbcb;*/
}


.widget-settings-dialog.setting-post-template .settings-box-content .post-template-wrap .post-template-liked-btn{
    display: none;
    outline: 0;
    cursor: pointer;
    position: absolute;
    right: 5px;
    top: -10px;
    font-size: 20px;
    border: 1px solid #9fa860;
    border-radius: 50%;
    width: 21px;
    height: 21px;
}

.widget-settings-dialog.setting-post-template .settings-box-content .post-template-wrap .post-template-image {
    border: 1px solid #cbcbcb;
}

.widget-settings-dialog.setting-post-template .settings-box-content .post-template-wrap .post-template-image:hover .post-template-liked-btn {
    outline: 0;
    cursor: pointer;
    position: absolute;
    right: 5px;
    top: -10px;
    font-size: 20px;
    border: 1px solid #9fa860;
    border-radius: 50%;
    background: url("../images/star-passive.svg") no-repeat #fff;
    width: 21px;
    height: 21px;
    background-position: 5px 5px;
    display: block;
}
.widget-settings-dialog.setting-post-template .settings-box-content .post-template-wrap .post-template-image:hover .post-template-liked-btn:hover{
    background: url("../images/star.svg") no-repeat #b9c481;
    background-position: 5px 5px;
}

.widget-settings-dialog.setting-post-template .settings-box-content .post-template-wrap.liked .post-template-liked-btn, 
.widget-settings-dialog.setting-post-template .settings-box-content .post-template-wrap.liked .post-template-image:hover .post-template-liked-btn{
    display: block;
    background: url("../images/star.svg") no-repeat #9fa860;
    background-position: 5px 5px;
}



.widget-settings-dialog.setting-post-template .settings-box-content .post-template-wrap .post-template-apply-btn {
    display: block;
    width: 100%;
    height: 43px;
    /*box-shadow: 0 0 0 1px #cbcbcb;*/
    border: 1px solid #cbcbcb;
    border-top: 0px;
    background: #f6f6f6;
    font: 12px/43px Verdana;
    color: #4c4c4c;
    text-align: center;
    transition: all 0s;
    text-transform: uppercase;
}

.widget-settings-dialog.setting-post-template .settings-box-content .post-template-wrap .post-template-apply-btn:hover {
    color: #ffffff;
    background: #9fa860;
    opacity: 1;
}




.list-templates {
    position: relative;
    margin-right: 20px;
    padding-left: 18px;
}

#widgets-list .list-templates .widget {
    margin-right: 0px;
}
.list-templates:before {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    display: inline-block;
    content: "БЛОКИ";
    font-size: 8px;
    color: #a5a5a5;
    font-family: Verdana, sans-serif;
    letter-spacing: 2px;
    padding-left: 1px;
    margin-right: 7px;
    vertical-align: middle;
    width: 8px;
    position: absolute;
    left: 0;
    top: 45px;
}

.set-widgets:before {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    display: inline-block;
    content: "ВИДЖЕТЫ";
    font-size: 8px;
    color: #a5a5a5;
    font-family: Verdana, sans-serif;
    letter-spacing: 2px;
    padding-top: 3px;
    margin-right: 12px;
    vertical-align: baseline;
    width: 8px;
    position: absolute;
    top: 42px;
    left: 0;
}

.set-widgets {
    position: relative;
    font-size: 0;
    padding-left: 13px;
}

#widgets-list .set-widgets .widget {
    margin-left: 6px;
    margin-bottom: 7px;
    margin-right: 0;
}

.post-template-wrap .tooltip-inner {
    max-width: 84px;
    padding: 3px 8px;
    /* color: #ffffff; */
    text-align: center;
    text-decoration: none;
    background-color: #000000;
    border-radius: 0;
}


/* text templates from news */
.text-template-1 {width: 100%; border-collapse: collapse; padding: 0; margin: 0 auto}
.text-template-1 td {border-collapse: collapse; padding: 0; margin: 0; width: 100%}
.text-template-1 td.header {font-size: 17px; text-align: center; text-transform: uppercase; padding: 37px; border-bottom: 1px solid #C9C9C9; color: #454545}
.text-template-1 td.text-1 {font-size: 13px; text-align: center; padding: 17px 38px; border-bottom: 1px solid #C9C9C9; color: #A09F9F; font-style: italic; line-height: 18px}
.text-template-1 td.image {padding: 32px 0px 37px 0px;}
.text-template-1 td.image img {max-width: 100%; min-height: 300px;}
.text-template-1 td.text-2 {
    vertical-align: top;
    font-size: 13px;
    color: #454545;
    line-height: 15px;
    -moz-column-count:2; /* Firefox */
    -webkit-column-count:2; /* Safari and Chrome */
    column-count:2;
    -moz-column-gap:34px; /* Firefox */
    -webkit-column-gap:34px; /* Safari and Chrome */
    column-gap:34px;
}
.text-template-2 {width: 100%; border-collapse: collapse; padding: 0; margin:  0 auto}
.text-template-2 td {border-collapse: collapse; padding: 0; margin: 0; width: 100%; vertical-align: top;}
.text-template-2 td.col, .text-template-2 td.newscol {width: 33.333% !important}
.text-template-2 td.col1 {padding-right: 28px;}
.text-template-2 td.col2 {padding: 0px 14px;}
.text-template-2 td.col3 {padding-left: 28px;}
.text-template-2 .col .header, .text-template-2 .newscol .header {width: 100%; font-size: 14px; color: #454545; text-transform: uppercase; text-align: center; padding: 6px 0px 20px 0px}
.text-template-2 .col .image, .text-template-2 .newscol .image {padding-bottom: 20px; width: 100%}
.text-template-2 .col .image img, .text-template-2 .newscol .image img {max-width: 100%; min-height: 190px;}
.text-template-2 .col .text, .text-template-2 .newscol .text {width: 100%; font-size: 13px; color: #454545; line-height: 15px}
.text-template-2 .text-2 {width: 80%; margin: 60px auto 0 auto; border-top: 1px solid #C9C9C9; padding: 27px 0px; color: #A09F9F; font-size: 13px; font-style: italic; line-height: 1.5; text-align: center;}

.text-template-3 {width: 100%; border-collapse: collapse; padding: 0; margin:  0 auto}
.text-template-3 td {border-collapse: collapse; padding: 0; margin: 0; width: 100%; vertical-align: top;}
.text-template-3 td.header {font-size: 17px; text-align: center; text-transform: uppercase; padding-bottom: 30px; color: #454545}
.text-template-3 td.text-1 {font-size: 13px; text-align: center; color: #A09F9F; font-style: italic; line-height: 18px; padding-bottom: 40px}
.text-template-3 td.text-2 {font-size: 13px; color: #454545; line-height: 15px; padding-bottom: 40px; border-bottom: 1px solid #C9C9C9;}
.text-template-3 td.text-3 {font-size: 11px; color: #A09F9F; line-height: 18px; font-style: italic; padding: 20px 0px; text-align: center}

.text-template-4 {width: 100%; border-collapse: collapse; padding: 0; margin:  0 auto}
.text-template-4 td {border-collapse: collapse; padding: 0; margin: 0; width: 100%; vertical-align: top;}
.text-template-4 td.header {font-size: 17px; text-align: center; text-transform: uppercase; padding-bottom: 36px; color: #454545}
.text-template-4 td.col, .text-template-4 td.newscol {width: 33.333% !important; padding-bottom: 40px}
.text-template-4 td.col1 {padding-right: 16px;}
.text-template-4 td.col2 {padding: 0px 8px;}
.text-template-4 td.col3 {padding-left: 16px;}
.text-template-4 td.col1 img, .text-template-4 td.col3 img {max-width: 100%; min-height: 300px;}
.text-template-4 td.col2 {font-size: 13px; color: #454545; line-height: 15px;}
.text-template-4 td.footer {border-top: 1px solid #C9C9C9; padding: 43px 10% 0 10%; font-size: 13px; text-align: center; color: #A09F9F; font-style: italic; line-height: 18px;}

.text-template-5 {width: 100%; border-collapse: collapse; padding: 0; margin:  0 auto}
.text-template-5 td {border-collapse: collapse; padding: 0px 0px 25px 0px; margin: 0; width: 100%; vertical-align: top;}
.text-template-5 td .template-5-text {font-size: 13px; text-align: left; color: #454545; line-height: 15px;}
.text-template-5 td.col1 img {max-width: 25%; min-height: 30px; float: left; margin-right: 10px; margin-bottom: 10px;}
.mobile .text-template-5 td.col1 img {max-width: 100%;}
.cke_editable .text-template-5 img {min-width: 50px;}

.text-template-6 { width: 100%; border-collapse: collapse; padding: 0; margin: 0 auto; }
.text-template-6 .col, .text-template-6 .newscol { -moz-column-count: 2; -webkit-column-count: 2; column-count: 2; column-gap: 20px; -moz-column-gap: 20px; -webkit-column-gap: 20px; }
