/* Widger Simple Image */

/* Settings "image layout" */ 

#post-content .simple-image {
}
#post-content .simple-image img {
    max-width: 100%;
}
#post-content .simple-image .image-box {
    margin: 0 auto;
}
#post-content .simple-image .image-box .imageTitle {
    margin-top: 5px;
    word-break: break-word;
    word-wrap: break-word;
}
#post-content .simple-image .image-block {
    background-size: cover !important;
    margin: 0 auto;
    width: 100%;
}
#post-content .simple-image  .image-block img, 
#post-content .simple-image.origin .image-block 
#post-content .simple-image.custom .image-block {
    background: none !important;
}
#post-content .simple-image.origin .image-block img,
#post-content .simple-image.custom .image-block img  {
    display: block;
    margin: 0 auto;
    width: 100%;
}
#post-content .simple-image:not(.imageStretch) .image-block img {
    width: auto;
    max-width: none;
}
#post-content .simple-image:not(.imageStretch) .image-block {
    /*background: none !important;*/
    overflow: hidden;
}

#post-content .simple-image:not(.imageStretch):not(.vertical):not(.circle):not(.square):not(.rectangle) .image-block {
    background: none !important;
}

#post-content .simple-image.imageStretch .image-block img {
    margin-top: auto !important;
    margin-left: auto !important;
}
#post-content .simple-image.imageStretch .image-block {
    max-height: none !important;
}
#post-content .simple-image.circle .image-block img, 
#post-content .simple-image.square .image-block img, 
#post-content .simple-image.rectangle .image-block img, 
#post-content .simple-image.vertical .image-block img {
    display: none;
}
#post-content .simple-image.circle .image-block:before, 
#post-content .simple-image.square .image-block:before, 
#post-content .simple-image.rectangle .image-block:before, 
#post-content .simple-image.vertical .image-block:before {
    content: "";
    display: block;
    overflow: hidden;
    width: 100%;
}
#post-content .simple-image.circle .image-block:before {
    padding-top: 100%;
}
#post-content .simple-image.square .image-block:before {
    padding-top: 100%;
}
#post-content .simple-image.rectangle .image-block:before {
    padding-top: 66.6666666666666%;
}
#post-content .simple-image.vertical .image-block:before {
    padding-top: 150%;
}
#post-content .simple-image.circle  .image-block {
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

/* End Widger Simple Image */

/* Default state of widgets with dialogs */

.aside .aside-image .si-template,
#post-content .aside-instagram .ai-template,
#post-content .post-instagram .ai-template,
#post-content .simple-image .si-template,
#post-content .simple-video .sv-template,
#post-content .post-gallery .pg-template {
    padding: 30px 10px;
}

#post-content .simple-video .sv-template .sv-input-text {
    display: block;
    /*width: 460px;*/
    width: calc(100% - 135px); /* 120px - btn, 15px - margin */
    padding: 10px 15px;
    line-height: 11px;
    font-size: 11px;
    float: left;
    border-color: #dddcdc;
    height: 32px; /* less line-height for input not working */
}
#post-content .col:not(.col-md-24):not(.col-md-23):not(.col-md-22):not(.col-md-21):not(.col-md-20).col:not(.col-md-19):not(.col-md-18):not(.col-md-17):not(.col-md-16):not(.col-md-15).col:not(.col-md-14):not(.col-md-13):not(.col-md-12)
.simple-video .sv-template .sv-input-text {
    width: 100%;
    float: none;
}
#post-content .col:not(.col-md-24):not(.col-md-23):not(.col-md-22):not(.col-md-21):not(.col-md-20).col:not(.col-md-19):not(.col-md-18):not(.col-md-17):not(.col-md-16):not(.col-md-15).col:not(.col-md-14):not(.col-md-13):not(.col-md-12)
.simple-video .sv-template .fileform {
    margin: 10px auto 0;
    float: none;
}
.show {
    float: left;
    width: 100%;
    text-align: center;
    margin-top: 15px;
}
.aside .aside-image .si-template .widget-image, #post-content .simple-image .si-template .widget-image {
    background: url(../images/widget-image.svg) no-repeat;
    width: 25px;
    height: 25px;
    margin: 0px auto;
    background-size: contain;
}
body.retina .aside .aside-image .si-template .widget-image, body.retina #post-content .simple-image .si-template .widget-image {
    background: url(../images/widget-image-2x.jpg) no-repeat;
    background-size: contain;
}
#post-content .post-gallery .pg-template .widget-image {
    background: url(../images/widget-post-gallery.svg) no-repeat;
    background-size: contain;
    width: 25px;
    height: 25px;
    margin: 0px auto;
}
body.retina #post-content .post-gallery .pg-template .widget-image {
    background: url(../images/widget-post-gallery-2x.jpg) no-repeat;
    background-size: contain;
}
#post-content .simple-video .sv-template .widget-image {
    background: url(../images/widget-simple-video.svg) no-repeat;
    background-size: contain;
    width: 25px;
    height: 25px;
    margin: 0px auto;
}
body.retina #post-content .simple-video .sv-template .widget-image {
    background: url(../images/widget-simple-video-2x.jpg) no-repeat;
    background-size: contain;
}
.aside .aside-instagram .ai-templ-label, #post-content .post-instagram .ai-templ-label,
.aside .aside-image .si-templ-label, .aside .aside-social-icons .aside-social-icons-template-label, .aside .aside-menu .aside-menu-template-label, #post-content .simple-image .si-templ-label, #post-content .post-gallery .pg-templ-label, #post-content .simple-video .sv-templ-label {
    /*text-transform: uppercase;*/
    font-size: 11px;
    line-height: 11px;
    max-width: 182px;
    margin: 20px auto;
    color: #949394;
    text-align: center;
}

/* End Default state of widgets with dialogs */

/* Widger Simple Text */ 

#post-content .simple-text {
}
#post-content .simple-text.colorbg {
    padding: 10px;
}
#post-content .simple-text.transparent-background {
    background: rgba(0, 0, 0, 0) !important;
}
#post-content .simple-text .text-box {
    margin: 0px auto;
    padding: 0px;
    color: #636161;
    word-break: break-word;
    word-wrap: break-word;
}
#post-content .simple-text .text-box img {
    max-width: 100%;
}
#post-content .simple-text .text-box.padding-20px {
    padding-top: 20px;
    padding-bottom: 20px;
}
#post-content .simple-text .text-box ul {
    list-style: disc;
    margin: 0;
    padding: 0;
    list-style-position: inside;
}
#post-content .simple-text .text-box.nocolumns {
}
#post-content .simple-text .text-box.twocolumns {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
}
#post-content .simple-text .text-box.threecolumns {
    -moz-column-count: 3;
    -webkit-column-count: 3;
    column-count: 3;
}

#post-content .setting-block .setting.layout-compact {
    padding-bottom: 0;
    border-bottom: none;
}

/* End Widger Simple Text */

/* Widget Post Link More */

#post-content .element.post-link-more {
    margin: 0px auto;
    padding: 0px;
}
#post-content .element .link-more-text {
}

/* End Widget Post Link More */

/* Widget Post Gallery */

.gallery-box.dragover .drag-holder {
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 10000;
}
.gallery-content {
    position: relative;
    z-index: 1;
}
.gallery-box {
    position: relative;
    margin: 0 auto;
}
.gallery-box .gallery-content {
    margin: 0 auto;
    position: relative;
    z-index: inherit;
}
.gallery-row-box {
    position: relative;
}
.gallery-photo-box .photo-control-panel {
    display: none;
    height: 28px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -30px;
    margin-top: -14px;
    max-width: 61px;
    z-index: 50;
    width: 61px;
}
.gallery-photo-box .photo-control-panel .control {
    background: rgba(0, 0, 0, 0) url(../images/b-photo-controls.png) no-repeat;
    cursor: pointer;
    float: left;
    height: 28px;
    width: 28px;
}
.gallery-photo-box .photo-control-panel .control.p-settings {
    background-position: 0px 0px;
}
.gallery-photo-box .photo-control-panel .control.p-remove {
    background-position: -33px 0px;
    margin-left: 5px;
}
.gallery-photo-box.hover .photo-control-panel {
    display: block;
}
.gallery-row-box, .gallery-row-box.active-row .gallery-row, .gallery-row-box.active-row .gallery-photo-box-image, .gallery-row-box.active-row .gallery-photo-box-image img {
    transition: margin 0.2s linear, padding 0.2s linear;
}
.gallery-content.regenerated .gallery-row-box {
    transition: 0;
}
.gallery-row-box.active-row.top {
    padding-top: 20px;
}
.gallery-row-box.active-row.bottom {
    padding-bottom: 20px;
}
.gallery-row-box.active-row.left    .gallery-row {
    margin-left: 20px;
}
.gallery-row-box.active-row.right   .gallery-row {
    margin-left: -20px;
}
.gallery-row-box.multi.active-row.left  .gallery-row {
    margin-left: 0px;
}
.gallery-row-box.multi.active-row.right .gallery-row {
    margin-left: 0px;
}
.gallery-row-box.multi.active-row.left  .gallery-photo-box:first-child img {
    margin-left: 20px;
}
.gallery-row-box.multi.active-row.right .gallery-photo-box:last-child img {
    margin-left: -40px;
}

/*  Не знаю почему -40px, но работает */
.gallery-row-box.multi li.gallery-photo-box {
    float: left;
}
.gallery-row .photo-content {
    height: 100%;
}
.gallery-photo-box {
    position: relative;
}
.gallery-photo-box img {
    max-width: 100%;
    width: 100%;
    /*cursor: all-scroll;*/
    display: block;
    margin: 0px auto;
}
.gallery-photo-box .gallery-photo-box-image {
    height: 100%;
}
.gallery-photo-box .gallery-photo-box-title {
    text-align: left;
    line-height: 1em;
}
.gallery-photo-box .gallery-photo-box-title:not(:empty) {
    padding-top: 10px;
    padding-bottom: 10px;
    word-break: break-word;
    word-wrap: break-word;
}
.gallery-photo-box .pg-photo-settings {
    background: white;
    position: absolute;
    top: 10px;
}

/* End Widget Post Galllery */

/* Widget Post Title */

.post-title h1, .post-title h2, .post-title h3, .post-title h4, .post-title h5, .post-title h6, .post-title h7 {
    padding: 0px;
    margin: 0px;
    border: none;
}
.element-box .post-title .title-wrapper {
    overflow: hidden;
    position: relative;
    text-align: center;
}
.element-box .post-title .title-shell {
    font-size: 20px;
    line-height: 1em;
    padding: 0px;
}
.element-box .post-title .decor_rectangle .title-shell {
    line-height: 1.4em;
}
.element-box .post-title .title-shell:before {
    margin-left: -1000px;
}
.element-box .post-title .title-shell:after {
    margin-right: -1000px;
}
.element-box .post-title .title-shell:before, .element-box .post-title .title-shell:after {
    content: '';
    display: inline-block;
    width: 1000px;
    height: 1em;
    position: absolute;
    vertical-align: middle;
}
.element-box .post-title .widget-content .title {
    border: 1px solid rgba(0, 0, 0, 0);
    display: inline-block;
    max-width: 70%;
    padding: 0 25px;
    margin: 0px;
    min-height: 20px;
}
.element-box .post-title .title .title-text {
    margin: 0px;
}

.widget-settings-dialog.setting-post-title .s-checkbox-line label {
    float: none;
}
@-moz-document url-prefix() {
    .widget-settings-dialog.setting-post-title .s-checkbox-line label {
        margin-right: 3px;
    }
}

/* End Widget Post Title */


/* Widget Post Button */
.setting-block .setting.padding-top-small { padding-top: 15px; }
.setting-block .setting.label-width-half label { width: 50%; }
.setting-block .setting.label-width-100 label { width: 100px; }


#post-content .element-box.new .element.post-button {
    background: transparent !important;
}

.element-box .element.post-button .post-button-content {
    display: inline-block;
    min-width: 50px;
    text-align: center;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    box-sizing: border-box;
    padding: 5px;
    border-width: 0px;
    transition: border .1s,background .3s;
}

.element-box .element.post-button .post-button-content.view-2 { border-radius: 30px; }
.element-box .element.post-button .post-button-content.view-3 { border-radius: 10px; }
.element-box .element.post-button .post-button-content.view-4 { background: #000; }
.element-box .element.post-button .post-button-content.view-5 { background: #000; border-radius: 30px; }
.element-box .element.post-button .post-button-content.view-6 { background: #000; border-radius: 10px; }

.element-box .element.post-button .post-button-content.style-bold { font-weight: bold; }
.element-box .element.post-button .post-button-content.style-italic { font-style: italic; }
.element-box .element.post-button .post-button-content.size-regular {  }

.widget-settings-dialog.setting-post-button ul.sbOptions a[rel="bold"] { font-weight: bold; }
.widget-settings-dialog.setting-post-button ul.sbOptions a[rel="italic"] { font-style: italic; }

.widget-settings-dialog.s-aside-button .sbOptions,
.widget-settings-dialog.s-aside-button .sbHolder,
.widget-settings-dialog.setting-post-button .sbOptions,
.widget-settings-dialog.setting-post-button .sbHolder { width: 110px; }
.widget-settings-dialog.setting-post-button .minicolors input.textbox { width: 85px; }

.widget-settings-dialog.setting-post-button {
    width: 450px !important;
    overflow: hidden !important;
   /* max-height: 95%;
    overflow-y: auto !important;*/
}
.widget-settings-dialog.setting-post-button .button-link input {
    max-width: 365px;
}
.widget-settings-dialog.setting-post-button span.tt.icon-active-quest {
    float: right;
    margin-top: -21px;
}
.widget-settings-dialog.setting-post-button .button-link label {
    margin-top: 7px;
    margin-right: 8px;
}
.widget-settings-dialog.setting-post-button .button-link > span {
    float: left;
    margin-top: 6px;
    color: #999999;
}
.widget-settings-dialog.setting-post-button label {
    float: left;
}
.widget-settings-dialog.setting-post-button .s-checkbox-line label {
    float: none;
}
.widget-settings-dialog.setting-post-button .align .setting-field div.sample,
.widget-settings-dialog.setting-post-button .view-type .setting-field div.sample {
    width: 70px;
    height: 25px;
    float: left;
    margin-right: 30px;
}
.widget-settings-dialog.setting-post-button .view-type .setting-field div.sample { width: 70px; height: 23px; }
.widget-settings-dialog.setting-post-button .view-type .sample-1 { border: 1px solid #aaa; }
.widget-settings-dialog.setting-post-button .view-type .sample-2 { border: 1px solid #aaa; border-radius: 10px; }
.widget-settings-dialog.setting-post-button .view-type .sample-3 { border: 1px solid #aaa; border-radius: 5px; }
.widget-settings-dialog.setting-post-button .view-type .sample-4 { background: #aaa; }
.widget-settings-dialog.setting-post-button .view-type .sample-5 { background: #aaa; border-radius: 10px; }
.widget-settings-dialog.setting-post-button .view-type .sample-6 { background: #aaa; border-radius: 5px; }

.widget-settings-dialog.setting-post-button .align .sample-1 { background: url(../images/sample-1.png) repeat-x; }
.widget-settings-dialog.setting-post-button .align .sample-2 { background: url(../images/sample-2.png) repeat-x; }
.widget-settings-dialog.setting-post-button .align .sample-3 { background: url(../images/sample-3.png) repeat-x; }

.widget-settings-dialog.setting-post-button .setting-block .setting-block.inside {
    float: left;
    width: auto;
    padding-bottom: 0 !important;
}
.widget-settings-dialog.setting-post-button .setting-block .setting-block.inside .setting {
    width: auto;
    padding: 0;
    margin: 0;
    margin-left: 40px;
}

.widget-settings-dialog.setting-post-button .setting-block .setting-block.inside {
    float: left;
    width: auto;
    padding-bottom: 0 !important;
}
.widget-settings-dialog.setting-post-button .setting-block .setting-block.inside .setting {
    width: auto;
    padding: 0;
    margin: 0;
    margin-left: 40px;
}

.widget-settings-dialog.setting-post-button .setting-block .setting-block.inside .sbHolder {
    width: 70px;
    margin-top: -1px;
}
.widget-settings-dialog.setting-post-button .setting-block .setting-block.inside .sbOptions {
    width: 70px;
}

.element-box .element.post-button .post-button-content.forcePadding {
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: 100% !important;
}


/* End Widget Post Button */

/* Widget Aside Button */

.setting-block .setting.padding-top-small { padding-top: 15px; }
.setting-block .setting.label-width-half label { width: 50%; }
.setting-block .setting.label-width-100 label { width: 100px; }

#post-content .element-box.new .element.aside-button {
    background: transparent !important;
}

.element-box .element.aside-button .aside-button-content {
    display: inline-block;
    min-width: 50px;
    text-align: center;
    word-wrap: break-word;
    word-break: break-word;
}

.element-box .element.aside-button .aside-button-content {
    max-width: 100%;
    box-sizing: border-box;
}

.element-box .element.aside-button .aside-button-content.view-2 { border-radius: 30px; }
.element-box .element.aside-button .aside-button-content.view-3 { border-radius: 10px; }
.element-box .element.aside-button .aside-button-content.view-4 { background: #000; }
.element-box .element.aside-button .aside-button-content.view-5 { background: #000; border-radius: 30px; }
.element-box .element.aside-button .aside-button-content.view-6 { background: #000; border-radius: 10px; }

.element-box:not(.editingText) .element.aside-button .aside-button-content.view-1:hover,
.element-box:not(.editingText) .element.aside-button .aside-button-content.view-2:hover,
.element-box:not(.editingText) .element.aside-button .aside-button-content.view-3:hover {
    /*border-color: transparent !important;*/
}

.element-box .element.aside-button .aside-button-content.size-small { padding: 15px; }
.element-box .element.aside-button .aside-button-content.size-middle { padding: 15px 20px;  }
.element-box .element.aside-button .aside-button-content.size-large { padding: 20px 25px;  }

.element-box .element.aside-button .aside-button-content.style-bold { font-weight: bold; }
.element-box .element.aside-button .aside-button-content.style-italic { font-style: italic; }
.element-box .element.aside-button .aside-button-content.size-regular {  }

.widget-settings-dialog.s-aside-button .button-link input {
    max-width: 365px;
}
.widget-settings-dialog.s-aside-button span.tt.icon-active-quest {
    float: right;
    margin-top: -21px;
}
.widget-settings-dialog.s-aside-button .button-link label {
    margin-top: 7px;
    margin-right: 8px;
}
.widget-settings-dialog.s-aside-button .button-link > span {
    float: left;
    margin-top: 6px;
    color: #999999;
}
.widget-settings-dialog.s-aside-button label {
    float: left;
}
.widget-settings-dialog.s-aside-button .s-checkbox-line label {
    float: none;
}
.widget-settings-dialog.s-aside-button .align .setting-field div.sample,
.widget-settings-dialog.s-aside-button .view-type .setting-field div.sample {
    width: 70px;
    height: 25px;
    float: left;
    margin-right: 30px;
}
.widget-settings-dialog.s-aside-button .view-type .setting-field div.sample { width: 70px; height: 23px; }
.widget-settings-dialog.s-aside-button .view-type .sample-1 { border: 1px solid #aaa; }
.widget-settings-dialog.s-aside-button .view-type .sample-2 { border: 1px solid #aaa; border-radius: 10px; }
.widget-settings-dialog.s-aside-button .view-type .sample-3 { border: 1px solid #aaa; border-radius: 5px; }
.widget-settings-dialog.s-aside-button .view-type .sample-4 { background: #aaa; }
.widget-settings-dialog.s-aside-button .view-type .sample-5 { background: #aaa; border-radius: 10px; }
.widget-settings-dialog.s-aside-button .view-type .sample-6 { background: #aaa; border-radius: 5px; }

.widget-settings-dialog.s-aside-button .align .sample-1 { background: url(../images/sample-1.png) repeat-x; }
.widget-settings-dialog.s-aside-button .align .sample-2 { background: url(../images/sample-2.png) repeat-x; }
.widget-settings-dialog.s-aside-button .align .sample-3 { background: url(../images/sample-3.png) repeat-x; }

.widget-settings-dialog.s-aside-button .setting-block .setting-block.inside {
    float: left;
    width: auto;
    padding-bottom: 0 !important;
}
.widget-settings-dialog.s-aside-button .setting-block .setting-block.inside .setting {
    width: auto;
    padding: 0;
    margin: 0;
    margin-left: 40px;
}

.widget-settings-dialog.s-aside-button .setting-block .setting-block.inside {
    float: left;
    width: auto;
    padding-bottom: 0 !important;
}
.widget-settings-dialog.s-aside-button .setting-block .setting-block.inside .setting {
    width: auto;
    padding: 0;
    margin: 0;
    margin-left: 40px;
}

.widget-settings-dialog.s-aside-button .setting-block .setting-block.inside .sbHolder {
    width: 70px;
    margin-top: -1px;
}
.widget-settings-dialog.s-aside-button .setting-block .setting-block.inside .sbOptions {
    width: 70px;
}

/* End Widget Aside Button */



/* Widget Simple Video */

.simple-video .sv-templ-form-box {
    margin: 0 auto;
    overflow: hidden;
    max-width: 600px;
}
.simple-video .video-box, .simple-video .video-description {
    margin: 0 auto;
}
.simple-video .video-overflow {
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
    top: 0;
}
#post-content.ui-sortable-disabled .video-overflow {
    display: none;
}

/* hide placeholder by focus */
.simple-video input.sv-input-text:focus::-webkit-input-placeholder { color:transparent; }
.simple-video input.sv-input-text:focus:-moz-placeholder { color:transparent; } /* FF 4-18 */
.simple-video input.sv-input-text:focus::-moz-placeholder { color:transparent; } /* FF 19+ */
.simple-video input.sv-input-text:focus:-ms-input-placeholder { color:transparent; } /* IE 10+ */

/* End Widget Simple Video */

/* Gallery widget */

/* Tabs */
.post-gallery .title-row {
    background: #f8f8f8;
    color: #848484;
}
.post-gallery .settings-box .s-tabs {
}
.post-gallery .settings-box .s-tabs .tab {
    float: left;
    width: 50%;
    padding: 12px;
    -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;
    font-family: Verdana;
    color: #b3b3b3;
}
.post-gallery .settings-box .s-tabs .tab:first-child {
    border-right: 1px solid #d4d2cd
}
.post-gallery .settings-box .s-tabs .tab.active {
    border-bottom: 0px;
    background: #fff;
    color: #313131;
}
.post-gallery .settings-box .tab-content {
    display: none;
}
.post-gallery .settings-box .tab-content.active {
    display: block;
}

/* Upload files */
.post-gallery .setting-block.input h3.setting-title {
    float: left;
    padding-right: 15px;
    font-family: Verdana;
}
.post-gallery .setting-block.input .replace-image {
    width: 220px !important;
}
.post-gallery .setting-block .fileform.replace {
    width: 100%
}

/* Thumbs */
.s-thumbs-grid {
    height: 260px;
    padding-left: 7px;
    -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%;
    overflow-y: auto;
}
.s-thumbs-grid .six-col .item {
    margin-left: 0px;
    margin-right: 22px
}
.s-thumbs-grid .six-col a.lnk-chain {
    right: -23px;
}

/* End Gallery Widget */

/* Widget Post Break Line */

#post-content .post-break-line .text-box {
    margin: 0px auto;
    padding-top: 16px;
    padding-bottom: 16px;
    min-height: 15px;
}
.post-break-line .text-box>div {
    width: 100%;
    margin: 0px auto;
}
.element-box .element.post-break-line {
    padding: 0px;
}
.element-box .post-break-line .break-line {
    margin: 0 auto;
}
.element-box .post-break-line .break-line .decoration {
    height: 9px;
}

/* End Post Break Line Widget */


/* Widget Post Vertical Break Line */
#post-content .element-box .element.post-vertical-break-line .vertical-break-line .decoration { width: 9px; height: calc(100% - 20px); position: absolute; left: 50%; margin-left: -4.5px; }
#post-content .element-box.widget-post-vertical-break-line { position: static !important; height: 100%; }
#post-content .col.widget-wrap { height: 1px; } /* for ie */

#post-content .element-box .element.post-vertical-break-line .vertical-break-line .decoration.align-top { top: 10px !important; }
#post-content .element-box .element.post-vertical-break-line .vertical-break-line .decoration.align-bottom { bottom: 10px; top: inherit !important; }

.widget-settings-dialog.setting-post-vertical-break-line .setting-block .checkbox-line label {float: none;}
/* End Post Break Vertical Line Widget */


.select-tab-content {
    display: none;
}
.select-tab-content.active {
    display: block;
}

/* Aside text */
#aside-content .aside-text .text-box {
    margin: 0px auto;
    /*padding-top: 10px;
    padding-bottom: 10px;*/
    word-break: break-word;
    word-wrap: break-word; /* Firefox */
}
#aside-content .aside-text.colorbg .text-box {
    padding-left: 10px;
    padding-right: 10px;
}
#aside-content .aside-text.transparent-background {
    background: rgba(0, 0, 0, 0) !important;
}
#aside-content .aside-text .text-box ul {
    list-style: disc;
    margin: 0;
    padding: 0;
    list-style-position: inside;
}

/* End aside text */

/* Aside Post Break Line */

.aside .aside-break-line .text-box {
    margin: 0px auto;
    padding-top: 16px;
    padding-bottom: 16px;
    min-height: 15px;
}
.aside .aside-break-line .text-box > div {
    width: 100%;
    margin: 0px auto;
}
.aside .element-box .element.aside-break-line {
    padding: 15px 0px;
    min-height: 15px;
}
.aside .element-box .aside-break-line .break-line {
    height: 15px;
    margin: 0 auto;
}
.aside .element-box .aside-break-line .break-line .decoration {
    height: 100%;
}

/* End Aside Break Line Widget */

/* Aside Image */

.aside .aside-image {
}
.aside .aside-image img {
    max-width: 100%;
}
.aside .aside-image .image-box {
    margin: 0 auto;
}
.aside .aside-image .image-box .imageTitle {
    margin-top: 5px;
    word-wrap: break-word; /* Firefox */
}
.aside .aside-image             .image-block {
    background-size: cover !important;
    margin: 0 auto;
    width: 100%;
}
.aside .aside-image             .image-block img, .aside .aside-image.origin      .image-block {
    background: none !important;
}
.aside .aside-image.origin      .image-block img {
    display: block;
    margin: 0 auto;
    width: 100%;
}

.aside .aside-image.imageNoStretch .image-block img {
    width: auto;
    max-width: none;
}
.aside .aside-image.imageNoStretch .image-block {
    background: none !important;
    overflow: hidden;
}
.aside .aside-image:not(.imageNoStretch) .image-block img {
    margin-top: auto !important;
    margin-left: auto !important;
}
.aside .aside-image:not(.imageNoStretch) .image-block {
    max-height: none !important;
}
.aside .aside-image.circle      .image-block img, .aside .aside-image.square      .image-block img, .aside .aside-image.rectangle   .image-block img, .aside .aside-image.vertical    .image-block img {
    display: none;
}
.aside .aside-image.circle      .image-block:before, .aside .aside-image.square      .image-block:before, .aside .aside-image.rectangle   .image-block:before, .aside .aside-image.vertical    .image-block:before {
    content: "";
    display: block;
    overflow: hidden;
    width: 100%;
}
.aside .aside-image.circle      .image-block:before {
    padding-top: 100%;
}
.aside .aside-image.square      .image-block:before {
    padding-top: 100%;
}
.aside .aside-image.rectangle   .image-block:before {
    padding-top: 66.6666666666666%;
}
.aside .aside-image.vertical    .image-block:before {
    padding-top: 150%;
}
.aside .aside-image.circle      .image-block {
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

/* End Widger Simple Image */

/* End. Aside Image */

/* Widget Post Title */

.aside-title h1, .aside-title h2, .aside-title h3, .aside-title h4, .aside-title h5, .aside-title h6, .aside-title h7 {
    padding: 0px;
    margin: 0px;
    border: none;
}
.element-box .aside-title .title-wrapper {
    overflow: hidden;
    position: relative;
    text-align: center;
}
.element-box .aside-title .title-shell {
    font-size: 20px;
    line-height: 1em;
    padding: 0px;
}
.element-box .aside-title .decor_rectangle .title-shell {
    line-height: 1.7em;
}
.element-box .aside-title .title-shell:before {
    margin-left: -1000px;
}
.element-box .aside-title .title-shell:after {
    margin-right: -1000px;
}
.element-box .aside-title .title-shell:before, .element-box .aside-title .title-shell:after {
    content: '';
    display: inline-block;
    width: 1000px;
    height: 1em;
    position: absolute;
    vertical-align: middle;
}
.element-box .aside-title .title {
    border: 1px solid rgba(0, 0, 0, 0);
    display: inline-block;
    max-width: 70%;
    padding: 0 15px;
    margin: 0px;
    word-break: break-word;
    box-sizing: content-box;
    line-height: 1.4em; /* as in front*/
    word-wrap: break-word;
    min-height: 20px;
}
.element-box .aside-title .title .title-text {
    margin: 0px;
}

/* End Widget Post Title */

/* Start Social Icons
========================== */
.element.widget-social-icons {overflow: hidden;}
.social-icons-template {padding: 0;}
.social-icons-template.default { background-color: #ffffff !important; padding: 30px 10px }
.social-icons-template .social-icons-template-image {
    background: url(../images/aside/widgets/aside-social-icons/default-state.svg) no-repeat;
    width: 87px;
    height: 27px;
    margin: 0px auto 20px;
    background-size: contain;
}
.widget-social-icons .social-icons-template-label {
    line-height: 14px;
    margin-bottom: 0px;
    max-width: 100%;
    text-align: center;
    color: #949394;
    font-size: 11px;
}
.social-icons-template.asi {
    font-size: 20px;
    display: flex; 
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -webkit-flex-flow: row wrap; 
    flex-flow: row wrap;
    -webkit-justify-content: center;
    justify-content: center; 
}
.social-icons-template.asi.center {
    -webkit-justify-content: center;
    justify-content: center;
}
.social-icons-template.asi.left {
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}
.social-icons-template.asi.right {
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
}
.social-icons-template.asi a, .social-icons-template.asi i {
    font-size: 40px;
    line-height: 40px;
    text-decoration: none;
}
.social-icons-template.asi .asi-icon-box {
    flex: 0 1 auto;
    margin: 10px;
}
.social-icons-template.asi .asi-icon-box .asi-icon {
}
.ui-dialog.add-social-icons,
.ui-dialog.add-social-icons .dialog-add-social-icon.ui-dialog-content,
.ui-dialog.add-form-field {
    overflow: visible;
}

/* Social Icons Settings */
.setting-social-icons label {
    color: #949292;
    float: left;
    margin-right: 15px;
    margin-top: 3px;
}
.setting-social-icons .setting.h3-width-140 h3 { width: 140px; }
.setting-social-icons .settings-box .setting-tabs {
}
.setting-social-icons .settings-box .setting-tabs .tab {
    float: left;
    width: 50%;
    padding: 10px 10px 10px 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    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-social-icons .settings-box .setting-tabs .tab:first-child {
    border-right: 1px solid #d4d2cd;
}
.setting-social-icons .settings-box .setting-tabs .tab.active {
    border-bottom: 0px;
    background: #fff;
    color: #313131;
}

.setting-social-icons .settings-box .setting-icons-structure-wrapper {
    overflow-y: auto; width: 100%; margin-top: 20px;
}

.setting-social-icons .settings-box .setting-icons-structure-table-wrapper {
    border: 1px solid #ccc;
    width: 412px;
    margin: 0px auto;
    display: block;
    border-collapse:collapse;
}
.setting-social-icons .settings-box .setting-icons-structure-table, .setting-social-icons .settings-box .setting-icons-structure-head {
    width: 410px;
    display: table;
    border-collapse: collapse;
}
.setting-social-icons .settings-box .setting-icons-structure-head {
    border-bottom: 1px solid #ccc;
}
.setting-social-icons .settings-box .setting-icons-structure-table .setting-icons-table-icon-box {
    display: table-row;
}
.setting-social-icons .settings-box .setting-icons-structure-head > div, .setting-social-icons .settings-box .setting-icons-structure-table .setting-icons-table-icon-box > div {
    display: table-cell;
    padding: 10px;
    background: #fcfcfc;
    color: #7a7a7a;
}
.setting-social-icons .settings-box .setting-icons-structure-head > div {
    background: #f5f5f5;
    color: #b7b7b7;
}
.setting-social-icons .settings-box .setting-icons-structure-table .setting-icons-table-icon-box .icon-header {
    cursor: pointer;
    background: #fcfcfc url('../images/aside-social-icons-dnd.png') no-repeat 10px 7px;
    width: 41px;
    border-bottom: 1px solid #ccc;
    border-collapse: collapse;
}
.setting-social-icons .settings-box .setting-icons-structure-table .setting-icons-table-icon-box .icon-remove {
    cursor: pointer;
    /*background: #fcfcfc url('../images/aside-social-icons-cross.png') no-repeat 10px 7px;*/
    width: 41px;
    border-bottom: 1px solid #ccc;
    border-collapse: collapse;
}
.setting-social-icons .settings-box .setting-icons-structure-table .setting-icons-table-icon-box .icon-type {
    width: 343px;
    border-bottom: 1px solid #ccc;
    border-collapse: collapse;
}

.setting-social-icons .settings-box .setting-icons-structure-table .setting-icons-table-icon-box:last-child > div {
    border-bottom: 0px;
}
.setting-social-icons .settings-box .tab-content {
    display: none;
}
.setting-social-icons .settings-box .tab-content.active {
    display: block;
}
.setting-social-icons .button-box {
    float: left;
    width: 200x;
}
.setting-social-icons .setting-title.soc-icon-fix1 {
    float: left;
    margin-bottom: 0px;
    padding: 11px 0px;
    width: 121px;
}
.setting-block .soc-icons-view {
    line-height: 38px;
}
.setting-block .social-icons > label {
    float: left;
}
.setting-block .social-icons > i {
    width: 40px;
    height: 50px;
    font-size: 36px;
    line-height: 1em;
    float: left;
}
.add-social-icons {
    width: 410px !important;
}
.add-social-icons .active-note {
    height: 20px;
    margin-bottom: 20px;
}
.add-social-icons .d-icon-type {
}
.add-social-icons .d-icon-type, .add-social-icons .d-icon-type > *,
.add-social-icons .d-icon-link, .add-social-icons .d-icon-link > * {
    float: left;
}
.add-social-icons .d-icon-type > label {
    width: 145px;
}
.add-social-icons .d-icon-type > .sbHolder {
    width: 160px;
    height: 22px;
}
.add-social-icons .d-icon-link > label {
    width: 73px;
}
.add-social-icons .d-icon-link > input {
    font: 12px/12px Verdana, Geneva, sans-serif;
    width: 232px;
    padding: 3px;
}
.add-social-icons.ui-dialog { height: auto !important; z-index: 1001; }

/* End Social Icons */

/* Instagram
========================== */
/*.element.post-instagram {
    background: white;
}*/

.element.post-instagram .ai-template .ai-template-image,
.aside-instagram-type .ai-template .ai-template-image {
    background: url(../images/widgets/aside-instagram-default-state-icon.svg) no-repeat;
    width: 25px;
    height: 24px;
    margin: 0px auto 20px;
    background-size: contain;
}
.element.post-instagram .ai-template .fileform.add-account, .element.post-instagram .widget-settings-dialog .fileform.add-account
.aside-instagram-type .ai-template .fileform.add-account, .aside-instagram-type .widget-settings-dialog .fileform.add-account {
    max-width: 190px;
    padding: 10px;
}
.setting-post-instagram label,
.s-aside-instagram label {
    color: #949292;
    float: left;
    margin-right: 15px;
    margin-top: 3px;
}

.post-instagram.element .static-grid .static-grid-item .static-grid-cell img { max-width: 100%; }
/* ========================= */

/* Insert code */
.insert-code-box {
     background: #fff url(../images/widgets/aside-insert-code-settings.svg) no-repeat;
     background-position: 50% 30px;
     padding: 65px 10px 30px 10px;
     font: 11px/15px Verdana;
     color: #949394;
     text-align: center;
}
.insert-code-box .addcode {
    max-width: 190px;
    margin: 20px auto 0;
    border: 1px solid #c5c5c5;
    text-transform: uppercase;
    text-align: center;
    padding: 10px;
    color: #444443;
    font-size: 10px;
    line-height: 1;
}
.insert-code-box .addcode:hover {
    cursor: pointer;
    border-color: #4b4b4b;
}

/* case for saved widget (widget not has label)*/
.widget .aside-insert-code .addcode:not(.add),
.widget.aside-insert-code-type .addcode:not(.add) {
    margin-top: 0;
}

/* Indent */
.element.post-indent .indent-inner {
    position: relative;
    width: 100%;
}

.wrapper-map .indent-inner {
    position: absolute;
    height: 2px;
    bottom: 13px;
    width: 100%;
}

.element.post-indent .indent-holder {
    position: absolute;
    bottom: 17px;
    height: 2px;
    width: 100%;
    background: #9fa860;
    display: none;
}

.wrapper-map {
    overflow: hidden;
}

.wrapper-map .indent-holder {
    position: absolute;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: #9fa860;
    display: none;
}

.element.post-indent:hover .indent-holder, .wrapper-map:hover .indent-holder {
    display: block;
}

.element.post-indent .indent-holder:before, .wrapper-map .indent-holder::before {
    content: '';
    position: absolute;
    left: 50%;
    margin-left: -10px;
    top: -10px;
    display: block;
    height: 10px;
    width: 20px;
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iOXB4IiBoZWlnaHQ9IjRweCIgdmlld0JveD0iMCAwIDkgNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWxuczpza2V0Y2g9Imh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaC9ucyI+ICAgICAgICA8dGl0bGU+VHJpYW5nbGUgMTwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZGVmcz48L2RlZnM+ICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPiAgICAgICAgPHBvbHlnb24gaWQ9IlRyaWFuZ2xlLTEiIGZpbGw9IiM0QzRDNEMiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiIHBvaW50cz0iNC41IDAgOSA0IDAgNCAiPjwvcG9seWdvbj4gICAgPC9nPjwvc3ZnPg==);
        background-repeat: no-repeat;
    background-position: 5px 3px;
}

.element.post-indent .indent-holder:after, .wrapper-map .indent-holder:after {
    content: '';
    position: absolute;
    left: 50%;
    margin-left: -10px;
    top: 2px;
    display: block;
    height: 10px;
    width: 20px;
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iOXB4IiBoZWlnaHQ9IjRweCIgdmlld0JveD0iMCAwIDkgNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWxuczpza2V0Y2g9Imh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaC9ucyI+ICAgICAgICA8dGl0bGU+VHJpYW5nbGUgMTwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZGVmcz48L2RlZnM+ICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPiAgICAgICAgPHBhdGggZD0iTTAsLTguODgxNzg0MmUtMTYgTDksMCBMNC41LDQgTDAsLTguODgxNzg0MmUtMTYgWiIgaWQ9IlRyaWFuZ2xlLTEiIGZpbGw9IiM0QzRDNEMiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgPC9nPjwvc3ZnPg==);
    background-repeat: no-repeat;
    background-position: 5px 3px;
}

/* Aside social icons
========================== */
.element.aside-social-icons {overflow: hidden;}
.aside-social-icons-type .aside-social-icons-template {padding: 0;}
.aside-social-icons-type .aside-social-icons-template.default { background-color: #ffffff !important;  padding: 30px 10px; }
.aside-social-icons-type.element-box { background:  rgba(0,0,0,0) !important; }
.aside-social-icons-type .aside-social-icons-template .aside-social-icons-template-image {
    background: url(../images/aside/widgets/aside-social-icons/default-state.svg) no-repeat;
    width: 87px;
    height: 27px;
    margin: 0px auto 20px;
    background-size: contain;
}
.aside .aside-social-icons .aside-social-icons-template-label {
    line-height: 14px;
    margin-bottom: 0px;
    max-width: 100%;
    color: #949394;
    font-size: 11px;
}
.aside-social-icons-template.asi {
    font-size: 20px;
    display: flex; 
    display: -ms-flexbox;
    display: -webkit-flex;
    -webkit-flex-flow: row wrap; 
    flex-flow: row wrap;
    -webkit-justify-content: center;
    justify-content: center; 
}
.aside-social-icons-template.asi a, .aside-social-icons-template.asi i {
    font-size: 40px;
    line-height: 40px;
    text-decoration: none;
}
.aside-social-icons-template.asi .asi-icon-box {
    flex: 0 1 auto;
    margin: 10px;
}
.aside-social-icons-template.asi .asi-icon-box .asi-icon {
}
.ui-dialog.add-social-icons {
    overflow: visible;
}
.ui-dialog.add-social-icons .dialog-add-social-icon.ui-dialog-content {
    overflow: visible;
}

/* Settings */
.s-aside-social-icons label {
    color: #949292;
    float: left;
    margin-right: 15px;
    margin-top: 3px;
}
.s-aside-social-icons .settings-box .s-tabs {
}
.s-aside-social-icons .settings-box .s-tabs .tab {
    float: left;
    width: 50%;
    padding: 10px 10px 10px 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    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;
}
.s-aside-social-icons .settings-box .s-tabs .tab:first-child {
    border-right: 1px solid #d4d2cd;
}
.s-aside-social-icons .settings-box .s-tabs .tab.active {
    border-bottom: 0px;
    background: #fff;
    color: #313131;
}

.s-aside-social-icons .settings-box .s-icons-structure-wrapper {
    overflow-y: auto; width: 100%; max-height: 334px; margin-top: 20px;
}

.s-aside-social-icons .settings-box .s-icons-structure-table-wrapper {
    border: 1px solid #ccc;
    width: 412px;
    margin: 0px auto;
    display: block;
    border-collapse:collapse;
}
.s-aside-social-icons .settings-box .s-icons-structure-table, .s-aside-social-icons .settings-box .s-icons-structure-head {
    width: 410px;
    display: table;
    border-collapse: collapse;
}
.s-aside-social-icons .settings-box .s-icons-structure-head {
    border-bottom: 1px solid #ccc;
}
.s-aside-social-icons .settings-box .s-icons-structure-table .s-icons-table-icon-box {
    display: table-row;
}
.s-aside-social-icons .settings-box .s-icons-structure-head > div, .s-aside-social-icons .settings-box .s-icons-structure-table .s-icons-table-icon-box > div {
    display: table-cell;
    padding: 10px;
    background: #fcfcfc;
    color: #7a7a7a;
}
.s-aside-social-icons .settings-box .s-icons-structure-head > div {
    background: #f5f5f5;
    color: #b7b7b7;
}
.s-aside-social-icons .settings-box .s-icons-structure-table .s-icons-table-icon-box .icon-header {
    cursor: pointer;
    background: #fcfcfc url('../images/aside-social-icons-dnd.png') no-repeat 10px 7px;
    width: 41px;
    border-bottom: 1px solid #ccc;
    border-collapse: collapse;
}
.s-aside-social-icons .settings-box .s-icons-structure-table .s-icons-table-icon-box .icon-remove {
    cursor: pointer;
    background: #fcfcfc url('../images/aside-social-icons-cross.png') no-repeat 10px 7px;
    width: 41px;
    border-bottom: 1px solid #ccc;
    border-collapse: collapse;
}
.s-aside-social-icons .settings-box .s-icons-structure-table .s-icons-table-icon-box .icon-type {
    width: 343px;
    border-bottom: 1px solid #ccc;
    border-collapse: collapse;
}

.s-aside-social-icons .settings-box .s-icons-structure-table .s-icons-table-icon-box:last-child > div {
    border-bottom: 0px;
}
.s-aside-social-icons .settings-box .tab-content {
    display: none;
}
.s-aside-social-icons .settings-box .tab-content.active {
    display: block;
}
.s-aside-social-icons .button-box {
    float: left;
    width: 200x;
}
.s-aside-social-icons .setting-title.soc-icon-fix1 {
    float: left;
    margin-bottom: 0px;
    padding: 11px 0px;
    width: 121px;
}
.s-aside-social-icons .h3-width-140 h3 {
    width: 140px;
}
.setting-block .aside-soc-icons-view {
    line-height: 38px;
}
.setting-block .aside-social-icons > label {
    float: left;
}
.setting-block .aside-social-icons > i {
    width: 40px;
    height: 50px;
    font-size: 36px;
    line-height: 1em;
    float: left;
}
.add-social-icons {
    width: 410px !important;
}
.add-social-icons .active-note {
    height: 20px;
    margin-bottom: 20px;
}
.add-social-icons .d-icon-type {
}
.add-social-icons .d-icon-type, .add-social-icons .d-icon-type > *,
.add-social-icons .d-icon-link, .add-social-icons .d-icon-link > * {
    float: left;
}
.add-social-icons .d-icon-type > label {
    width: 145px;
}
.add-social-icons .d-icon-type > .sbHolder {
    width: 160px;
    height: 22px;
}
.add-social-icons .d-icon-link > label {
    width: 73px;
}
.add-social-icons .d-icon-link > input {
    font: 12px/12px Verdana, Geneva, sans-serif;
    width: 232px;
    padding: 3px;
}
.add-social-icons.ui-dialog { height: auto !important; z-index: 1001; }

#aside-content .element-box .aside-social-icons > .hide-bg.open { display: none; z-index: 1; }
#aside-content .element-box .aside-social-icons > .hide-bg.open.display { display: block; }
#aside-content .element-box .element.aside-social-icons.pointer { pointer-events: inherit; position: relative; z-index: 1000; }
.widget-settings-dialog.s-aside-social-icons.open .hide-bg.open { display: none; }

/* ========================= */
/* Aside Menu
========================== */

.aside-menu-type a {
    text-decoration: none;
}
.aside-menu-type .aside-menu-template {
    padding: 0px;
}
.aside-menu-type .aside-menu-template.default {
    background-color: #ffffff !important;
}
.aside-menu-type.element-box {
    background: rgba(0, 0, 0, 0) !important;
}
.aside .aside-menu .aside-menu-template-label {
    line-height: 14px;
    margin: 0 auto;
    max-width: 100%;
}

.aside-menu-template.asm {
    overflow: hidden;
    position: relative;
}

.aside-menu-template.asm.align-left.set3 .asm-category { padding-left: 0px; }
.aside-menu-template.asm.align-right.set3 .asm-category { padding-right: 0px; }

.aside-menu-template.asm .asm-item-box { border-bottom: 1px solid rgba(0,0,0,0); }

.aside-menu .asm-category-shell:before { margin-left: -1000px; }
.aside-menu .asm-category-shell:after { margin-right: -1000px; }

.aside-menu .asm-category-shell:before,
.aside-menu .asm-category-shell:after {
    content: '';
    display: inline-block;
    width: 1000px;
    height: 1em;
    position: absolute;
    vertical-align: middle;
}
.aside-menu .asm-category-shell { 
    font-size: 20px;
    line-height: 1em;
    padding:0px;
    overflow: hidden;
}

.aside-menu .asm-category-shell .asm-category { 
    border: 1px solid rgba(0, 0, 0, 0);
    display: inline-block;
    max-width: 70%;
    padding: 0 25px;
    margin: 0px;
    word-break: break-word;
    word-wrap: break-word;
}

.aside-menu .asm-category-shell .asm-categor > *{ margin: 0px; }

/* Settings */
.s-aside-menu label {
    color: #949292;
    float: left;
    margin-right: 15px;
    margin-top: 3px;
}
.s-aside-menu .settings-box .s-tabs {
}
.s-aside-menu .settings-box .s-tabs .tab {
    float: left;
    width: 50%;
    padding: 10px 10px 10px 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    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;
}
.s-aside-menu .settings-box .s-tabs .tab:first-child {
    border-right: 1px solid #d4d2cd;
}
.s-aside-menu .settings-box .s-tabs .tab.active {
    border-bottom: 0px;
    background: #fff;
    color: #313131;
}

.s-aside-menu .settings-box .s-icons-structure-wrapper {
    overflow-y: auto; width: 100%; max-height: 334px; margin-top: 20px;
}
.s-aside-menu .settings-box .s-icons-structure-table-wrapper {
    border: 1px solid #ccc;
    width: 392px;
    margin: 0px auto;
    display: block;
    border-collapse: collapse;
}
.s-aside-menu .settings-box .s-icons-structure-table, .s-aside-menu .settings-box .s-icons-structure-head {
    width: 390px;
    display: table;
    border-collapse: collapse;
}
.s-aside-menu .settings-box .s-icons-structure-head {
    border-bottom: 1px solid #ccc;
}
.s-aside-menu .settings-box .s-icons-structure-table .s-icons-table-icon-box {
    display: table-row;
    height: 36px;
}
.s-aside-menu .settings-box .s-icons-structure-head > div, .s-aside-menu .settings-box .s-icons-structure-table .s-icons-table-icon-box > div {
    display: table-cell;
    padding: 0px 10px;
    line-height: 36px;
    background: #fcfcfc;
    color: #7a7a7a;
}
.s-aside-menu .settings-box .s-icons-structure-head > div {
    background: #f5f5f5;
    color: #b7b7b7;
}
.s-aside-menu .settings-box .s-icons-structure-head > div.display {
    text-align: right;
    width: 100px;
}
.s-aside-menu .settings-box .s-icons-structure-table .s-icons-table-icon-box .icon-header {
    cursor: pointer;
    background: #fcfcfc url('../images/aside-menu-dnd.png') no-repeat 10px 7px;
    width: 21px;
    border-bottom: 1px solid #ccc;
    border-collapse: collapse;
}
.s-aside-menu .settings-box .s-icons-structure-table .s-icons-table-icon-box .icon-remove {
    cursor: pointer;
    background: #fcfcfc url('../images/aside-menu-cross.png') no-repeat 10px 7px;
    width: 21px;
    border-bottom: 1px solid #ccc;
    border-collapse: collapse;
}
.s-aside-menu .settings-box .s-icons-structure-table .s-icons-table-icon-box .icon-display {
    width: 100px;
    border-bottom: 1px solid #ccc;
    border-collapse: collapse;
    text-align: right;
}
.s-aside-menu .settings-box .s-icons-structure-table .s-icons-table-icon-box .icon-display label {
    float: none;
}
.s-aside-menu .settings-box .s-icons-structure-table .s-icons-table-icon-box .icon-type {
    width: 307px;
    border-bottom: 1px solid #ccc;
    border-collapse: collapse;
}
.s-aside-menu .settings-box .s-icons-structure-table .s-icons-table-icon-box:last-child > div {
    border-bottom: 0px;
}
.s-aside-menu .settings-box .tab-content {
    display: none;
}
.s-aside-menu .settings-box .tab-content.active {
    display: block;
}
.s-aside-menu .settings-box .border-separator {
    margin: 25px 30px;
    height: 1px;
    border-top: 1px solid #e4e4e4;
    width: 410px;
}
.s-aside-menu .button-box {
    float: left;
    width: 200x;
}
.s-aside-menu .setting-title.soc-icon-fix1 {
    float: left;
    margin-bottom: 0px;
    padding: 11px 0px;
    width: 121px;
}
.setting-block .aside-soc-icons-view {
    line-height: 38px;
}
.setting-block .aside-menu > label {
    float: left;
    margin-right: 5px;
}
.setting-block .aside-menu > label:first-child {
    margin-left: 0px;
}
.setting-block .aside-menu .widget-menu {
    width: 94px;
    height: 66px;
    font-size: 36px;
    background-size: contain;
    display: block;
    float: left;
}
.setting-block .aside-menu .widget-menu.widget-menu-set1 {
    background-image: url('../images/aside/widgets/aside-menu/cat-set-1.png');
}
.setting-block .aside-menu .widget-menu.widget-menu-set2 {
    background-image: url('../images/aside/widgets/aside-menu/cat-set-2.png');
}
.setting-block .aside-menu .widget-menu.widget-menu-set3 {
    background-image: url('../images/aside/widgets/aside-menu/cat-set-3.png');
}
.s-aside-menu .s-colorpicker {
    height: 22px;
}
.s-aside-menu .s-colorpicker {
    height: 22px;
}

/* ------- Start Aside Subscribe ------- */

.s-aside-subscribe .settings-box .s-tabs {}
.s-aside-subscribe .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;
}
.s-aside-subscribe .settings-box .s-tabs .tab:first-child {border-right: 1px solid #d4d2cd}
.s-aside-subscribe .settings-box .s-tabs .tab.active {
    border-bottom: 0px;
    background: #fff;
    color: #313131;
}
.s-aside-subscribe .settings-box .tab-content {display: none;}
.s-aside-subscribe .settings-box .tab-content.active {display: block;}
.s-aside-subscribe .settings-box .subscribe-text-above {}
.s-aside-subscribe .settings-box textarea {
    width: 100%;
    margin: 0px;
    height: 25px;
    padding: 10px;
    min-height: 45px;
    max-height: 45px;
    resize: none;
    float: left;
    font-size: 10px;
}
.s-aside-subscribe .settings-box .ds-block .setting-title {
    float: left;
    margin: 14px 15px -21px 7px;
}
.s-aside-subscribe .settings-box .ds-block .fileform {
    width: 190px;
    background-color: #737373;
    color: #ffffff;
    text-transform: uppercase;
    float: right;
    padding-top: 13px;
    padding-bottom: 13px;
}
.s-aside-subscribe .settings-box .ds-block .setting {
    padding-left: 50px;
    padding-right: 50px;
}
.s-aside-subscribe .settings-box .ds-block .help-block-text {
    padding: 30px 35px 0;
}
.s-aside-subscribe .settings-box .ds-block .help-block-text a {
    text-decoration: underline;
}
.s-aside-subscribe .settings-box .ds-block .setting .error {
    clear: both;
    padding-top: 10px;
    padding-left: 20px;
    color: red;
    display: none;
    font-size: 10px;
}

.s-aside-subscribe .settings-box .ds-block .fileform,
.s-aside-subscribe .settings-box .ds-block .selectbutton {
    background-color: #737373;
    color: #ffffff;
    text-align: left;
}
.s-aside-subscribe .settings-box .selectbutton .plus,
.setting-post-subscribe  .settings-box .selectbutton .plus {
    padding: 2px;
    border: 1px solid #ffffff;
    margin-left: 0;
    font-size: 15px;
    line-height: 10px;
    display: inline-block;
    float: right;
    width: 19px;
    height: 19px;
    position: absolute;
    top: 11px;
    right: 29px;
}
.element.aside-subscribe .subscribe-button {
    cursor: pointer;
    text-align: center;
    padding: 11px 0;
    text-transform: uppercase;
    border: 1px solid #626262;
    font-size: 9px;
    font-weight: 400;
}
.element.aside-subscribe .subscribe-form {
    font-family: Verdana;
}
.element.aside-subscribe .subscribe-form .text-above {
    margin-bottom: 25px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    line-height: 13px;
    padding: 2px;
}
.element.aside-subscribe .subscribe-form .full-name.show {
    margin-top: 0px;
}
.element.aside-subscribe .subscribe-form input {
    width: 100%;
    line-height: 40px;
    text-align: center;
    margin-bottom: 14px;
    text-transform: uppercase;
    background-color: #eee;
    font-size: 9px;
    font-weight: 400;
    padding: 11px 0;
}

.s-aside-subscribe .settings-box .ds-block .fileform.off-api,
.s-aside-subscribe .settings-box .ds-block .off-api {
    background-color: #9fa860;
    color: #ffffff;
    text-align: center;
}

.s-aside-subscribe .settings-box .ds-block .fileform.off-api {
    width: 150px;
    /*background-color: #737373;
    color: #ffffff;
    text-transform: uppercase;*/
    float: left;
    margin-left: 12px;
}

#mailchimp_button .selectbutton {
    width: 190px;
    background-color: #737373;
    color: #ffffff;
    text-transform: uppercase;
    float: right;
    padding-left: 45px;
    font-size: 13px;
}

#mailchimp_button .selectbutton.active, #mailchimp_button.fileform.active {
    background-color: #45C369;
}

#mailchimp_button_off  {
    width: 153px;
    float: left;
    left: 13px;
    background-color: #9fa860;
    margin-right: 25px;
}

.s-aside-subscribe .settings-box .ds-block .mailchimp_off .selectbutton  {
    background-color: #9fa860;
}

.s-aside-subscribe .settings-box .ds-block .mailchimp_off .icon-active-delete{
    margin-top: 9px;
}
.s-aside-subscribe .settings-box .ds-block .mailchimp_off .icon-active-delete:hover {
    cursor: pointer;
}

.s-aside-subscribe select.selectpicker + div {
    margin-top: -9px;
    margin-left: 21px;
    width: 190px;
}

#popupMailchimp input[name="inputApiKey"] {
    width: 450px
}

.s-aside-subscribe select.selectpicker + div.ul {
    width: 190px;
}

.setting-field ul.sbOptions {
    width: 190px;
}
.widget-settings-dialog.s-aside-menu .sbOptions,
.widget-settings-dialog.s-aside-image .sbOptions,
.widget-settings-dialog.s-aside-subscribe .sbOptions,
.widget-settings-dialog.setting-simple-image .sbOptions,
.widget-settings-dialog.setting-quote .sbOptions { width: 150px; }

.s-aside-subscribe label {
    float: left;
    margin-right: 15px;
    margin-top: 3px;
    width: 175px;
}
.element.aside-subscribe .subscribe-button,
.element.aside-subscribe .subscribe-form input,
.element.aside-subscribe #progressButton {
    border: 0;
    text-transform: none;
    padding: 0px;
    height: 40px;
}

.element.aside-subscribe .subscribe-button {
   display: table-cell;
   vertical-align: middle;
}

.button-wraper {
    width: 100%;
    display: table;
    table-layout: fixed;
}

.s-aside-subscribe .minicolors input {
    margin-left: 0;
    width: 123px;
}

#constructor .element-box.new.aside-subscribe-type {
    background-color: transparent;
}

.element.aside-subscribe .button-wraper .subscribe-button {
    background-color: #eee;
}
.s-aside-subscribe .settings-form input[type="text"] {
    height: 24px;
    margin-top: -2px;
}

.s-aside-subscribe .setting-block.ds-block.mailchimp_off .btn-group.bootstrap-select {

}

.ui-dialog.center-bnt .ui-dialog-buttonpane .ui-dialog-buttonset {
    margin-right: auto !important;
    margin-left: auto !important;
}

.s-aside-subscribe .settings-box .s-tabs .tab.active[data-type="settings"] {
    border-right: 0;
}

.s-aside-subscribe .settings-box .s-tabs .tab:not(.active)[data-type="mailchimp"] {
    border-left: 1px solid #d4d2cd;
}
/* ------- End Aside Subscribe ------- */

.gallery-photo-box .photo-content .photo-control-panel {
    opacity: 1;
    display: block;
}
.widget-settings-dialog.setting-simple-image span.tt.icon-active-quest,
.widget-settings-dialog.setting-post-title span.tt.icon-active-quest {
    float: right;
    margin-top: -21px;
}

.widget-settings-dialog.setting-simple-image .image-link input,
.widget-settings-dialog.setting-post-title .title-link input {
    max-width: 365px;
}

.photo-settings-dialog .image-link input {
    max-width: 365px;
}

.photo-settings-dialog span.tt.icon-active-quest {
    float: right;
    margin-top: -21px;
}

.setting-post-title .setting label {
    width: 50%;
}
.setting-post-title .decoration-type>label {
    width: 100%;
}
.setting-post-title .setting-field input.minicolors-input {
    width: 85px;
}

/* common */
.widget-settings-dialog {
    max-height: 600px;
    overflow: hidden !important;
}
.widget-settings-dialog.setting-post-title {
    max-height: 680px;
    overflow: hidden !important;
}
.widget-settings-dialog .settings-box {
    width: 100%;
    max-height: 497px; /* 600 px - 103px (height settings-controls) */
    float: left;
    overflow: hidden;
}
.widget-settings-dialog.setting-post-title .settings-box {
    width: 100%;
    max-height: 570px;
    float: left;
    overflow: hidden;
}
.widget-settings-dialog .settings-box .settings-box-content {
    width: 100%;
    float: left;
    max-height: 448px; /* 497 px - 29px (height title) */
    overflow-y: auto;
    overflow-x: hidden;
}
.widget-settings-dialog.fullscreen .settings-box, .widget-settings-dialog.fullscreen .settings-box .settings-box-content {
    max-height: 100%; /* 497 px - 29px (height title) */
}
.widget-settings-dialog.setting-post-title .settings-box .settings-box-content {
    width: 100%;
    float: left;
    max-height: 490px;
    overflow-y: auto;
    overflow-x: hidden;
}
.widget-settings-dialog .settings-controls {
    border-top: 1px solid #c8c6c0;
}
.widget-settings-dialog.setting-post-instagram .settings-box .settings-box-content,
.widget-settings-dialog.setting-post-gallery .settings-box .settings-box-content .tab-content:last-of-type .setting-block:last-of-type,
.widget-settings-dialog.setting-post-title .settings-box .settings-box-content > .setting-block:last-of-type,
.widget-settings-dialog.setting-post-break-line .settings-box .settings-box-content,
.widget-settings-dialog.setting-post-insert-code .settings-box .settings-box-content .setting-block:last-of-type,
.widget-settings-dialog.setting-post-link-more .settings-box .settings-box-content,
.widget-settings-dialog.setting-simple-video .settings-box .settings-box-content,
.widget-settings-dialog.setting-simple-text .settings-box .settings-box-content .setting-block:last-of-type,
.widget-settings-dialog.setting-simple-image .settings-box .settings-box-content .setting-block:last-of-type,
.widget-settings-dialog.setting-post-button .settings-box .settings-box-content .setting-block:last-of-type,
.widget-settings-dialog.setting-social-icons .settings-box {
    padding-bottom: 28px;
}
.widget-settings-dialog.setting-post-title .additional-settings {
    padding-bottom: 10px;
}
.widget-settings-dialog.s-aside-subscribe .settings-box .settings-box-content,
.widget-settings-dialog.setting-post-subscribe .settings-box .settings-box-content,
.widget-settings-dialog.s-aside-insert-code .settings-box .settings-box-content .setting-block:last-of-type,
.widget-settings-dialog.s-aside-break-line .settings-box .settings-box-content,
.widget-settings-dialog.s-aside-image .settings-box .settings-box-content .setting-block:last-of-type,
.widget-settings-dialog.s-aside-text .settings-box .settings-box-content,
.widget-settings-dialog.s-aside-instagram .settings-box .settings-box-content,
.widget-settings-dialog.s-aside-button .settings-box .settings-box-content,
.widget-settings-dialog.s-aside-social-icons .settings-box .settings-box-content .tab-content .s-icons-structure-wrapper {
    padding-bottom: 28px;
}
.widget-settings-dialog.s-aside-menu .settings-box .settings-box-content .s-icons-structure-table-wrapper {
    margin-bottom: 20px;
}
.widget-settings-dialog.setting-social-icons .settings-box .settings-box-content .setting-block:last-of-type {
    padding-bottom: 35px;
}
.widget-settings-dialog .minicolors-position-top .minicolors-panel {  top: -156px;  }
.widget-settings-dialog .minicolors-panel {  opacity: 0;  }
.widget-settings-dialog .minicolors-panel.display {  opacity: 1;  }

/* set ckeditor tools layer top */
[id^="cke_w_editor_"] {
    z-index: 1003 !important;
}

/* fix bootstrap styles for '.widsort' admin - set max width for '.col' if winwow has small width - 121205085  */
@media (max-width: 992px) {
    .widsort #post-content .row > .col-md-24 {  width: 100%;  }
    .widsort #post-content .row > .col-md-23 {  width: 95.83333333%;  }
    .widsort #post-content .row > .col-md-22 {  width: 91.66666667%;  }
    .widsort #post-content .row > .col-md-21 {  width: 87.5%;  }
    .widsort #post-content .row > .col-md-20 {  width: 83.33333333%;  }
    .widsort #post-content .row > .col-md-19 {  width: 79.16666667%;  }
    .widsort #post-content .row > .col-md-18 {  width: 75%;  }
    .widsort #post-content .row > .col-md-17 {  width: 70.83333333%;  }
    .widsort #post-content .row > .col-md-16 {  width: 66.66666667%;  }
    .widsort #post-content .row > .col-md-15 {  width: 62.5%;  }
    .widsort #post-content .row > .col-md-14 {  width: 58.33333333%;  }
    .widsort #post-content .row > .col-md-13 {  width: 54.16666667%;  }
    .widsort #post-content .row > .col-md-12 {  width: 50%;  }
    .widsort #post-content .row > .col-md-11 {  width: 45.83333333%;  }
    .widsort #post-content .row > .col-md-10 {  width: 41.66666667%;  }
    .widsort #post-content .row > .col-md-9 {  width: 37.5%;  }
    .widsort #post-content .row > .col-md-8 {  width: 33.33333333%;  }
    .widsort #post-content .row > .col-md-7 {  width: 29.16666667%;  }
    .widsort #post-content .row > .col-md-6 {  width: 25%;  }
    .widsort #post-content .row > .col-md-5 {  width: 20.83333333%;  }
    .widsort #post-content .row > .col-md-4 {  width: 16.66666667%;  }
    .widsort #post-content .row > .col-md-3 {  width: 12.5%;  }
    .widsort #post-content .row > .col-md-2 {  width: 8.33333333%;  }
    .widsort #post-content .row > .col-md-1 {  width: 4.16666667%;  }
}

.si-template .widget-post-template { /* fix conflict classes */
    background: url(../images/widget-template-2x.svg) no-repeat;
    width: 29px;
    height: 25px;
    margin: 0 auto;
    background-size: 50px;
    background-position: center;
    transition-duration: 0s;
}
.widget-post-template {
    background: url(../images/widget-template-2x.svg) no-repeat;
    margin: 0 auto;
    background-size: 50px;
    background-position: center;
}
.widsort .widget:not(.ui-draggable-dragging).widget-post-template {
    transition-duration: 0s;
}


/* ------- Start Post Subscribe ------- */

.post-subscribe {
    margin-bottom: -10px;
}

.post-subscribe .subscribe-form,
.subscribe-checkbox{
    margin-bottom: 10px;
}

.post-subscribe .subscribe-form > div {
    box-sizing: border-box;
    padding-left: 0px;
    padding-right: 10px;
    min-height: 100%;
    position: relative;
    float: none;
    display: table-cell;
    vertical-align: top;
}

.post-subscribe .subscribe-form > div {
    width: 50%;
}

.post-subscribe.moreElements .subscribe-form > div {
    width: 25%;
}

.post-subscribe .subscribe-form > div {
    width: 50%;
}

.widsort .col-md-15 .post-subscribe:not(.moreElements) div.row-email,
.widsort .col-md-16 .post-subscribe:not(.moreElements) div.row-email,
.widsort .col-md-17 .post-subscribe:not(.moreElements) div.row-email,
.widsort .col-md-18 .post-subscribe:not(.moreElements) div.row-email,
.widsort .col-md-19 .post-subscribe:not(.moreElements) div.row-email,
.widsort .col-md-20 .post-subscribe:not(.moreElements) div.row-email,
.widsort .col-md-21 .post-subscribe:not(.moreElements) div.row-email,
.widsort .col-md-22 .post-subscribe:not(.moreElements) div.row-email,
.widsort .col-md-23 .post-subscribe:not(.moreElements) div.row-email,
.widsort .col-md-24 .post-subscribe:not(.moreElements) div.row-email {
    width: 75%;
}

.widsort .col-md-15 .post-subscribe:not(.moreElements) div.row-submit,
.widsort .col-md-16 .post-subscribe:not(.moreElements) div.row-submit,
.widsort .col-md-17 .post-subscribe:not(.moreElements) div.row-submit,
.widsort .col-md-18 .post-subscribe:not(.moreElements) div.row-submit,
.widsort .col-md-19 .post-subscribe:not(.moreElements) div.row-submit,
.widsort .col-md-20 .post-subscribe:not(.moreElements) div.row-submit,
.widsort .col-md-21 .post-subscribe:not(.moreElements) div.row-submit,
.widsort .col-md-22 .post-subscribe:not(.moreElements) div.row-submit,
.widsort .col-md-23 .post-subscribe:not(.moreElements) div.row-submit,
.widsort .col-md-24 .post-subscribe:not(.moreElements) div.row-submit {
    width: 25%;
}

.col-md-4 .element.post-subscribe .subscribe-form input,
.col-md-5 .element.post-subscribe .subscribe-form input,
.col-md-6 .element.post-subscribe .subscribe-form input {
    text-align: center;
}

/* Если виджет занимает до 6 колонок, то инпуты и кнопка выстраиваются друг под другом */

.col-md-4 .post-subscribe .col-sf-12, .col-md-4 .post-subscribe .col-sf-6,
.col-md-5 .post-subscribe .col-sf-12, .col-md-5 .post-subscribe .col-sf-6,
.col-md-6 .post-subscribe .col-sf-12, .col-md-6 .post-subscribe .col-sf-6,


/* Если виджет занимает от 6 до 20 колонок, то в этом случае, если
 более одного инпута - инпуты и кнопка выстраиваются друг под другом */

.col-md-4 .post-subscribe.moreElements .col-sf-12, .col-md-4 .post-subscribe.moreElements .col-sf-6,
.col-md-5 .post-subscribe.moreElements .col-sf-12, .col-md-5 .post-subscribe.moreElements .col-sf-6,
.col-md-6 .post-subscribe.moreElements .col-sf-12, .col-md-6 .post-subscribe.moreElements .col-sf-6,
.col-md-7 .post-subscribe.moreElements .col-sf-12, .col-md-7 .post-subscribe.moreElements .col-sf-6,
.col-md-8 .post-subscribe.moreElements .col-sf-12, .col-md-8 .post-subscribe.moreElements .col-sf-6,
.col-md-9 .post-subscribe.moreElements .col-sf-12, .col-md-9 .post-subscribe.moreElements .col-sf-6,
.col-md-10 .post-subscribe.moreElements .col-sf-12, .col-md-10 .post-subscribe.moreElements .col-sf-6,
.col-md-11 .post-subscribe.moreElements .col-sf-12, .col-md-11 .post-subscribe.moreElements .col-sf-6,
.col-md-12 .post-subscribe.moreElements .col-sf-12, .col-md-12 .post-subscribe.moreElements .col-sf-6,
.col-md-13 .post-subscribe.moreElements .col-sf-12, .col-md-13 .post-subscribe.moreElements .col-sf-6,
.col-md-14 .post-subscribe.moreElements .col-sf-12, .col-md-14 .post-subscribe.moreElements .col-sf-6,
.col-md-15 .post-subscribe.moreElements .col-sf-12, .col-md-15 .post-subscribe.moreElements .col-sf-6,
.col-md-16 .post-subscribe.moreElements .col-sf-12, .col-md-16 .post-subscribe.moreElements .col-sf-6,
.col-md-17 .post-subscribe.moreElements .col-sf-12, .col-md-17 .post-subscribe.moreElements .col-sf-6,
.col-md-18 .post-subscribe.moreElements .col-sf-12, .col-md-18 .post-subscribe.moreElements .col-sf-6,
.col-md-19 .post-subscribe.moreElements .col-sf-12, .col-md-19 .post-subscribe.moreElements .col-sf-6,
.col-md-20 .post-subscribe.moreElements .col-sf-12, .col-md-20 .post-subscribe.moreElements .col-sf-6
{
    width: 100%;
    display: block;
    padding-bottom: 10px;
    padding-right: 0;
}

.post-subscribe .col-sf-6:last-child, .post-subscribe .col-sf-12:last-child {
     padding-bottom: 0px !important;
     padding-right: 0px !important;
 }


.col-md-4 .post-subscribe .inp, .col-md-5 .post-subscribe .inp,  {
    padding-right: 0px;
}

.setting-post-subscribe .settings-box .s-tabs {}
.setting-post-subscribe .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-subscribe .settings-box .s-tabs .tab:first-child {border-right: 1px solid #d4d2cd}
.setting-post-subscribe  .settings-box .s-tabs .tab.active {
    border-bottom: 0px;
    background: #fff;
    color: #313131;
}
.setting-post-subscribe .settings-box .tab-content {display: none;}
.setting-post-subscribe  .settings-box .tab-content.active {display: block;}
.setting-post-subscribe  .settings-box .subscribe-text-above {}
.setting-post-subscribe .settings-box textarea {
    width: 100%;
    margin: 0px;
    height: 25px;
    padding: 10px;
    min-height: 45px;
    max-height: 45px;
    resize: none;
    float: left;
    font-size: 10px;
}
.setting-post-subscribe .settings-box .ds-block .setting-title {
    float: left;
    margin: 14px 15px -21px 7px;
}
.setting-post-subscribe  .settings-box .ds-block .fileform {
    width: 190px;
    background-color: #737373;
    color: #ffffff;
    text-transform: uppercase;
    float: right;
    padding-top: 13px;
    padding-bottom: 13px;
}
.setting-post-subscribe .settings-box .ds-block .setting {
    padding-left: 50px;
    padding-right: 50px;
}
.setting-post-subscribe .settings-box .ds-block .help-block-text {
    padding: 30px 35px 0;
}
.setting-post-subscribe .settings-box .ds-block .help-block-text a {
    text-decoration: underline;
}
.setting-post-subscribe .settings-box .ds-block .setting .error {
    clear: both;
    padding-top: 10px;
    padding-left: 20px;
    color: red;
    display: none;
    font-size: 10px;
}

.setting-post-subscribe  .settings-box .ds-block .fileform,
.setting-post-subscribe  .settings-box .ds-block .selectbutton {
    background-color: #737373;
    color: #ffffff;
    text-align: left;
}

.s-aside-subscribe .settings-box .ds-block .selectbutton.activ,
.setting-post-subscribe  .settings-box .ds-block .selectbutton.activ {
    text-align: center;
}

.element.post-subscribe .subscribe-button {
    cursor: pointer;
    text-align: center;
    padding: 0;
    text-transform: uppercase;
    border: 1px solid #626262;
    font-size: 9px;
    font-weight: 400;
}
.element.post-subscribe .subscribe-form {
    font-family: Verdana;
}
.element.post-subscribe .subscribe-form .text-above {
    margin-bottom: 25px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    line-height: 13px;
    padding: 2px;
}
.element.post-subscribe .subscribe-form .full-name.show {
    margin-top: 0px;
}
.element.post-subscribe .subscribe-form input {
    width: 100%;
    line-height: 40px;
    text-align: left;
    text-transform: uppercase;
    background-color: #f1f1f1;
    font-size: 12px;
    color: #a5a5a5;
    font-weight: 400;
    padding: 11px 11px;
}

.element.post-subscribe .subscribe-button,
.element.post-subscribe .subscribe-form input,
.element.post-subscribe #progressButton {
    border: 0;
    text-transform: none;
    /* padding: 0px; */
    height: 40px;
}

.element.post-subscribe #progressButton {
    line-height: 40px;
}

.element.post-subscribe .subscribe-button {
    display: table-cell;
    vertical-align: middle;
}

.element.post-subscribe .button-wraper .subscribe-button {
    background-color: #000000;
    color: #FFFFFF;
    font-size: 12px;
}

.setting-post-subscribe .settings-box .ds-block .fileform.off-api,
.setting-post-subscribe .settings-box .ds-block .off-api {
    background-color: #9fa860;
    color: #ffffff;
    text-align: center;
}

.setting-post-subscribe .settings-box .ds-block .fileform.off-api {
    width: 150px;
    float: left;
    margin-left: 12px;
}

.setting-post-subscribe .settings-box .ds-block .mailchimp_off .selectbutton  {
    background-color: #9fa860;
}

.setting-post-subscribe .settings-box .ds-block .mailchimp_off .icon-active-delete{
    margin-top: 9px;
}
.setting-post-subscribe .settings-box .ds-block .mailchimp_off .icon-active-delete:hover {
    cursor: pointer;
}

.setting-post-subscribe select.selectpicker + div {
    margin-top: -9px;
    margin-left: 21px;
    width: 190px;
}

.setting-post-subscribe select.selectpicker + div.ul {
    width: 190px;
}

.setting-post-subscribe label {
    float: left;
    margin-right: 15px;
    margin-top: 3px;
    width: 175px;
}

.setting-post-subscribe .minicolors input {
    margin-left: 0px;
    width: 123px;
}

.setting-post-subscribe.settings-form input[type="text"] {
    height: 24px;
    margin-top: -2px;
}

.setting-post-subscribe .setting-block.ds-block.mailchimp_off .btn-group.bootstrap-select {

}

.setting-post-subscribe .settings-box .s-tabs .tab.active[data-type="settings"] {
    border-right: 0;
}

.setting-post-subscribe .settings-box .s-tabs .tab:not(.active)[data-type="mailchimp"] {
    border-left: 1px solid #d4d2cd;
}

/*new styles*/
.element.post-subscribe {
    width: 100%;
    /* background-color: #ffffff !important; */
    /* padding: 10px 10px 0; */
    margin-bottom: -10px;
}

.element.post-subscribe .button-wraper {
    width: 100%;
    margin-bottom: 10px;
}

.element.post-subscribe.active .subscribe-button {
    width: 100%;
    line-height: 40px;
}

/* ------- Start Post Form ------- */
.setting-post-form .s-tabs {
    margin: -1px 0;
    display: flex;
    position: relative;
    z-index: 20;
}
.setting-post-form .s-tabs .tab {
    width: 53%;
    flex: 53%;
    float: left;
    padding: 10px 10px 10px 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    background: #f5f5f5;
    font-size: 11px;
    line-height: 11px;
    color: #b3b3b3;
    border: 1px solid #d4d2cd;
    margin: 0 -1px;
}

.setting-post-form .s-tabs .tab.active {
    border-bottom-color: transparent;
    background: #fff;
    color: #313131;
}

.setting-post-form .tab-content:not(.active) {
    display: none;
}

.setting-post-form .tab-content {
    float: left;
    max-height: 416px;
    overflow-y: auto;
    width: 100%;
}

.setting-post-form .tab-content .setting-block-title {
    padding: 38px 30px 0;
    text-transform: uppercase;
    clear: both;
    font-weight: 600;
}

.setting-post-form .tab-content .setting-block-title.divider {
    padding-top: 20px;
    padding-bottom: 20px;
    background: #FCFCFC;
    border-top: 1px solid #E7E7E7;
    border-bottom: 1px solid #E7E7E7;
    opacity: 0.5;
    font-family: Verdana;
    font-weight: bold;
    font-size: 8px;
    color: #272727;
    letter-spacing: 1px;
}

.setting-post-form .tab-content .setting-block-title:first-of-type {
    padding-top: 20px;
    padding-bottom: 20px;
}

.setting-post-form label[for="textColorWithoutField"]:after {
    content: ' (чекбокс + загрузка файла)';
    display: block;
    font-size: 10px;
    position: relative;
}

.widget-settings-dialog.setting-post-form .settings-box .settings-box-content {
    overflow-y: hidden;
}

.widget-settings-dialog.setting-post-form textarea[name="textPopup"],
.widget-settings-dialog.setting-post-form textarea[name="textAfterSubmit"],
.widget-settings-dialog.setting-post-form textarea[name="text_under_btn"],
.widget-settings-dialog.setting-post-form textarea[name="embed"] {
    height: 90px;
}

.widget-settings-dialog.setting-post-form textarea[name="buttonOpenPopupText"],
.widget-settings-dialog.setting-post-form textarea[name="buttonText"] {
    height: 60px;
}

.setting-post-form .tt.icon-active-quest {
    float: right;
}
.setting-post-form .setting-block[data-name="textPopup"] h3.setting-title,
.setting-post-form .setting-block[data-name="textAfterSubmit"] h3.setting-title,
.setting-post-form .setting-block[data-name="text_under_btn"] h3.setting-title,
.setting-post-form .setting-block[data-name="embed"] h3.setting-title {
    margin-bottom: 20px;
}

.setting-post-form .setting-block .setting input[name=email] {
    padding: 10px;
    height: 32px;
}

.setting-post-form .setting-block .setting {
    width: 410px;
}
.setting-post-form .setting-block .setting .half-block {
    width: 49%;
}
.setting-post-form .setting-block .setting .half-block.inline {
    display: inline-block;
}

.setting-post-form .checkbox-line-label {
    color: black;
}

.setting-post-form .setting-block[data-name="openInPopup"] .checkbox-line-label {
    vertical-align: top;
}


.widget-settings-dialog.setting-post-form .tab-content[data-type="decoration"] label {
    float: left;
}
.widget-settings-dialog.setting-post-form .tab-content[data-type="decoration"] .s-checkbox-line label {
    float: none;
}
.widget-settings-dialog.setting-post-form .view-type .sample {
    width: 57px;
    height: 23px;
    float: left;
    margin-right: 20px;
}
.widget-settings-dialog.setting-post-form .view-type .sample-1 {
    border: 1px solid #aaa;
}
.widget-settings-dialog.setting-post-form .view-type .sample-2 {
    border: 1px solid #aaa;
    border-radius: 10px;
}
.widget-settings-dialog.setting-post-form .view-type .sample-3 {
    border: 1px solid #aaa;
    border-radius: 5px;
}
.widget-settings-dialog.setting-post-form .view-type .sample-4 {
    border-bottom: 1px solid #aaa;
    height: 11px;
    margin-right: 0;
}

.widget-settings-dialog.setting-post-form .setting-block[data-name="viewTypeButton"] .view-type .sample {
    width: 70px;
}

.widget-settings-dialog.setting-post-form .sbOptions,
.widget-settings-dialog.setting-post-form .sbHolder { width: 110px; }

.widget-settings-dialog.setting-post-form .setting-block .setting-block.inside {
    float: left;
    width: auto;
    padding-bottom: 0 !important;
}
.widget-settings-dialog.setting-post-form .setting-block .setting-block.inside .setting {
    width: auto;
    padding: 0;
    margin: 0;
    margin-left: 40px;
}

.widget-settings-dialog.setting-post-form .setting-block .setting-block.inside .sbHolder {
    width: 70px;
    margin-top: -1px;
}
.widget-settings-dialog.setting-post-form .setting-block .setting-block.inside .sbOptions {
    width: 70px;
}

.widget-settings-dialog.setting-post-form .textarea {
    padding: 9px;
}

.add-form-field.ui-dialog {
    height: auto !important;
    width: 420px !important;
}
.add-form-field.ui-dialog .ui-dialog-content {
    padding: 40px 30px 0;
    background: #ffffff;
    border: 1px solid #D0CEC9;
    border-bottom: none;
    overflow: visible;
    color: #848484;
    font-size: 14px;
    line-height: 1;
    font-family: Verdana, Arial, sans-serif;
}
.add-form-field.ui-dialog .ui-dialog-buttonpane {
    border: 1px solid #D0CEC9;
    border-top: none;
}
.add-form-field .ui-dialog-buttonpane .ui-dialog-buttonset {
    margin-bottom: 40px;
    margin-left: 85px;
}

.add-form-field.ui-dialog .form-dialog-fields {
    margin-bottom: 40px;
}

.add-form-field.ui-dialog .form-dialog-fields .field.field-checkbox {
    font-size: 11px;
    color: #000000;
    letter-spacing: 0;
}
.add-form-field.ui-dialog .form-dialog-fields .field.field-checkbox label:not(.checkbox) {
    min-width: 82px;
}

.add-form-field.ui-dialog .form-dialog-fields .field label:not(.checkbox) {
    min-width: 80px;
    letter-spacing: normal;
    margin-right: 0;
}
.add-form-field.ui-dialog .form-dialog-fields .field .sbHolder,
.add-form-field.ui-dialog .form-dialog-fields .field input {
    width: 240px;
    height: 40px;
    color: #000000;
    letter-spacing: 1px;
}
.add-form-field.ui-dialog .form-dialog-fields .field .sbHolder {
    display: inline-block;
    vertical-align: middle;
}
.add-form-field.ui-dialog .form-dialog-fields .field .sbHolder .sbSelector {
    height: 40px;
    line-height: 40px;
    width: 240px;
    color: #000000;
    letter-spacing: .5px;
}
.add-form-field.ui-dialog .form-dialog-fields .field .sbHolder .sbToggle {
    height: 39px;
    width: 39px;
    background-position: 8px 11px;
}
.add-form-field.ui-dialog .form-dialog-fields .field .sbHolder .sbToggle:before {
    position: absolute;
    width: 35px;
    background: #ffffff;
    height: 5px;
    content: '';
}
.add-form-field.ui-dialog .form-dialog-fields .field .sbHolder .sbToggle.sbToggleOpen {
    background-position: 8px -10px;
}
.add-form-field.ui-dialog .form-dialog-fields .field .sbOptions {
    width: 240px;
    letter-spacing: .5px;
}
.add-form-field.ui-dialog .form-dialog-fields .sbOptions li {
    margin: 7px 0;
}
.add-form-field.ui-dialog .form-dialog-fields .field .tt {
    margin-left: 4px;
}

.add-form-field .active-note {
    height: 20px;
    margin-bottom: 20px;
}



.setting-fields-structure-table-wrapper {
    border: 1px solid #ccc;
    width: 412px;
    margin: 0 auto;
    display: block;
    border-collapse:collapse;
}

.setting-fields-structure-table .setting-fields-table-field-box {
    display: table-row;
    font-size: 12px;
    border-bottom: 1px solid #ccc;
    border-collapse:collapse;
}
/* type file */
.setting-fields-structure-table .setting-fields-table-field-box.field-without-column {
    border-top: 1px solid #ccc;
    display: inline-block;
}
.setting-fields-structure-table .setting-fields-table-field-box-row:first-of-type .setting-fields-table-field-box.field-without-column {
    border-top: none !important;
}
.setting-fields-structure-table .setting-fields-table-field-box.field-without-column .field-name {
    width: 360px !important;
    padding-left: 33px !important;
}
.setting-fields-structure-table[data-columns="2"] .setting-fields-table-field-box.field-without-column .field-name {
    padding-left: 34px !important;
}

.setting-fields-structure-head > div, .setting-fields-structure-table .setting-fields-table-field-box > div {
    display: table-cell;
    padding: 10px;
    background: #fcfcfc;
    color: #7a7a7a;
}
.setting-fields-structure-head > div {
    background: #f5f5f5;
    color: #b7b7b7;
}
.setting-fields-structure-table .setting-fields-table-field-box .field-header {
    cursor: pointer;
    background: #fcfcfc url('../images/aside-social-icons-dnd.png') no-repeat 10px 7px;
    width: 41px;
    border-bottom: 1px solid #ccc;
    border-collapse: collapse;
}

.setting-fields-structure-table .setting-fields-table-field-box.field-without-column:last-child ,
.setting-fields-structure-table .setting-fields-table-column:not(.no-full-content) .setting-fields-table-field-box:not(.ui-sortable-helper):last-child {
    border-bottom: 0px;
}

.setting-fields-structure-table {
    font-size: 0;
}
.setting-fields-structure-table .setting-fields-table-column {
    width: 100%;
    min-height: 39px;
    display: table-cell;
    font-size: 12px;
    border-right: 1px solid #ccc;
}
.setting-fields-structure-table .setting-fields-table-column:last-of-type {
    border-right: none;
}
.setting-fields-structure-table[data-columns="2"] .setting-fields-table-column {
   width: 50%;
}
.setting-fields-structure-table .setting-fields-table-field-box.ui-sortable-helper {
    border: 1px solid #ccc !important;
    margin-left: -1px;
    margin-top: -1px;
    margin-bottom: 1px;
    box-sizing: content-box;
    /*height: 37px !important;*/
}

.setting-fields-structure-table .setting-fields-table-field-box.ui-sortable-placeholder + .setting-fields-table-field-box {
    border-top: 1px solid #ccc;
}

.setting-fields-structure-table .setting-fields-table-field-box.ui-sortable-helper > * {
    border-bottom: none !important;
}

/* icons */
.setting-fields-structure-table .setting-fields-table-field-box .field-sort {
    background: #fcfcfc url('../images/widgets/sort.svg') no-repeat center center;
    cursor: pointer;
    width: 35px;
}
.setting-fields-structure-table[data-columns="2"] .setting-fields-table-field-box .field-sort {
    background: #fcfcfc url('../images/widgets/sort2.svg') no-repeat center center;
    width: 36px;
}
.setting-fields-structure-table .setting-fields-table-field-box .field-edit {
    cursor: pointer;
    background: #fcfcfc url('../images/widgets/edit.svg') no-repeat center center;
    width: 13px;
    padding: 0;
}
.setting-fields-structure-table .setting-fields-table-field-box .field-remove {
    cursor: pointer;
    background: #fcfcfc url('../images/widgets/delete.svg') no-repeat center;
    width: 48px;
}
.setting-fields-structure-table[data-columns="2"] .setting-fields-table-field-box .field-remove {
    width: 39px;
}

/* column 1 / 2 */
.setting-fields-structure-table  .setting-fields-table-field-box .field-name {
    width: 340px;
    padding-left: 0;
    word-break: break-word;
}

/* hide long name */
.setting-fields-table-field-box .field-fix {
    position: relative;
    max-height: 55px;
    display: block;
}
.setting-fields-table-field-box .field-fix:before {
    content: "";
    background: -moz-linear-gradient(top, rgba(252,252,252,0) 0%, rgba(252,252,252,1) 100%);
    background: -webkit-linear-gradient(top, rgba(252,252,252,0) 0%,rgba(252,252,252,1) 100%);
    background: linear-gradient(to bottom, rgba(252,252,252,0) 0%,rgba(252,252,252,1) 100%);
    position: absolute;
    bottom: -10px;
    left: 0px;
    right: 0px;
    height: 15px;
}
.setting-fields-table-field-box .field-name{
    overflow: hidden;
}
/* end hide long name */

.setting-fields-structure-table[data-columns="2"] .setting-fields-table-field-box .field-name {
    width: 125px;
    padding-left: 0;
}

.setting-fields-structure-table .setting-fields-table-column.empty-content {
    vertical-align: middle;
}
.setting-fields-structure-table .setting-fields-table-column .empty-block {
    padding-left: 30px;
    padding-right: 30px;
    color: #ccc;
    font-size: 10px;
    /*position: absolute;
    top: 50%;*/
}
.setting-fields-structure-table .setting-fields-table-column .sort-help-icon {
    background: transparent url('../images/widgets/sort-help.svg') no-repeat center;
    height: 17px;
    margin-bottom: 17px;
}
.add-form-field.ui-dialog .form-dialog-fields .select-add-variant {}
.add-form-field.ui-dialog .hided {
    display: none;
}
.add-form-field.ui-dialog .form-dialog-fields .add-variant-btn {
    text-align: right;
    margin-right: 31px;
}
.add-form-field.ui-dialog .form-dialog-fields .add-variant-btn .link-text {
    font-size: 12px;
    letter-spacing: normal;
    color: #000000;
}
.add-form-field.ui-dialog .form-dialog-fields .add-variant-btn .icon-add {
    border: 1px solid #D0CFCA;
    padding: 13px 15px;
    color: #A5A5A5;
    cursor: pointer;
}

.add-form-field.ui-dialog .form-dialog-fields .variant-items {
    max-height: 240px;
}
.add-form-field.ui-dialog .form-dialog-fields .variant-items.scrolled {
    overflow-y: auto;
}

.add-form-field.ui-dialog .form-dialog-fields .variant-items.scrolled label:not(.checkbox) {
    min-width: 90px;
}

.add-form-field.ui-dialog .form-dialog-fields .variant-items.scrolled input {
    max-width: 210px;
}

.remove-widget.form-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
    margin-left: auto;
}

/* admin front view widget fields */
.element.post-form .form__fields-row {
    clear: both;
}
.element.post-form .form__fields-row.row-no-column {
    margin-left: 0;
    margin-right: 0;
}

.element.post-form .form__field_file ~ .form__field-indent,
.element.post-form .row-w-column .form__field-box:last-child .form__field-indent,
.element.post-form .form__fields-row[data-columns="1"] .form__field-box:last-child .form__field-indent {
    padding-bottom: 0px;
}

.element.post-form .form__field-box {
    margin-top: 0;
}
.element.post-form .form__field-box .form__checkbox_label {
    margin-bottom: 0px;
}

.form__fields-row .form__field-box button.form__field_file {
    border-style: dashed;
    height: auto;
    text-align: left;
    background-color: transparent;
}
.form__fields-row .form__field-box button.form__field_file .text {
    text-decoration: underline;
}
.form__fields-row .form__fields-column {
    vertical-align: top;
}

/* disable control form in admin */
.form__fields-row.pe-n {
    pointer-events: none;
}

.form__btn-box a {
    border-width: 0px;
    cursor: text;
}

.element.post-form .form__btn {
    /*min-height: 40px;*/
    word-wrap: break-word;
    word-break: normal;
    max-width: 100%;
    transition: none;
    -moz-user-select: text;
    -khtml-user-select: text;
    -webkit-user-select: text;
    -o-user-select: text;
    padding: 18px 20px;
    min-height: auto;
    /*width: 100%;*/
   /* border-width: 0;*/
}

.element.post-form .form__btn.forcePadding {
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: 100% !important;
}

.element.post-form .form__btn span:empty {
    display: inline-block;
    min-width: 1px;
    min-height: 1px;
}

.element.post-form .form__textarea {
    padding-top: 14px;
}

.element.post-form .selectize-input {
    overflow: hidden;
}

.form__checkbox_box .form__checkbox_checkbox:after {
    box-sizing: content-box;
}
.element.post-form .file-drop-zone-title {
    font-size: inherit;
}
.file-drop-zone-title::before {
    content: "×";
    transform: rotate(45deg);
    display: inline-block;
    margin-right: 5px;
    font-family: Arial, Geneva, sans-serif;
    letter-spacing: 0px;
}
.element.post-form .form-settings {
    display: none;
}
.element.post-form .form__placeholder,
.element.post-form .selectize-input {
    transition: none;
}
.element.post-form .pl-container.ps-active-y > .ps-scrollbar-y-rail {
    display: none;
}
.setting-post-form #distanceBetweenFields.setting-block h5 {
    margin-top: 0px;
    margin-bottom: 10px;
}
.setting-block.s-checkbox-line h3.setting-title.placeholder-type { color: #4c4c4c; }
.widget-settings-dialog.setting-post-form .settings-box .tab-content .setting-block:last-of-type {
    padding-bottom: 50px;
}
.element.post-form .form-settings+.form__fields-row:not(.btn_open_popup) .form__btn-box {
    padding-top: 0px;
}
.element.post-form .form__checkbox_text span {
    flex: 100%;
}
/* ------- End Post Form ------- */

/*===================== widget preloader =====================*/
#post-content .row > .col .widget.preloader {
    background: #EEEEEE;
}
#post-content .row > .col .widget.pre-preloader > svg {
    opacity: 0;
    height: 40px;
}

.preloader-container {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -30px;
}

.preloader-dots {
    height: 20px;
    width: 80px;
}

.preloader-dots .dot {
    display: inline-block;
    background: #666;
    height: 8px;
    width: 8px;
    opacity: 0.3;
    border-radius: 50%;
    animation: moveit 1.8s infinite;
}

.dot:nth-child(2) {
    animation-delay: .15s;
}

.dot:nth-child(3) {
    animation-delay: .3s;
}

.dot:nth-child(4) {
    animation-delay: .45s;
}

.dot:nth-child(5) {
    animation-delay: .6s;
}

@keyframes moveit {
    0% {
        transform: translateY(0px);
    }
    35% {
        transform: translateY(0px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px);
        opacity: 0.8;
    }
    70% {
        transform: translateY(3px);
        opacity: 0.8;
    }
    85% {
        transform: translateY(-3px);
    }
}

/*===================== end widget preloader =================*/
