/* WP List Table */

.newsletters .wp-filter {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.newsletters .wp-list-table .column-id {
    width: 5%;
}

.newsletters .wp-list-table .column-subject { 
    width: 25%; 
}

.newsletters #submitdiv .inside, 
#newsletters_submit .inside {
    padding: 0;
    margin: 0;
}

.newsletters #submitdiv #save-draft, 
#newsletters_submit #save-draft {
    float: left;
}

.newsletters #newsletters_submit i.fa:not(.wpmlhelp i):not(.hndle i), 
.newsletters #submitdiv i.fa:not(.wpmlhelp i):not(.hndle i) {
    color: #82878c;
    font-size: 16px;
}

/*.newsletters .wp-list-table .column-user_id { width: 35%; }
.newsletters .wp-list-table .column-modified { width: 20%; }*/

.newsletters_indented tr th:not(:empty)::before {
    font-family: FontAwesome;
    content: "\f149";
    margin-right: 10px;
    font-weight: normal;
    color: #999;
}

.newsletters_indented > .newsletters_indented tr th:before {
    margin-left: 20px;
}

/* Update Plugins Count */
.newsletters .update-plugins {
    display: inline-block;
    background-color: #d54e21;
    color: #fff;
    /*font-size: 9px;
    line-height: 17px;*/
    font-weight: 600;
    margin: 1px 0 0 2px;
    vertical-align: middle;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    z-index: 26
}

.newsletters span.update-plugins span {
    display: block;
    padding: 0 6px
}

.newsletters a.wp-has-current-submenu .update-plugins {
    background-color: #00b9eb;
    color: #fff
}

.compat-item .compat-field-wpmlalign .field input[type=radio], 
.compat-item .compat-field-wpmlhspace .field input[type=radio] {
    margin: 0;
}

.compat-item .compat-field-wpmlalign .field, 
.compat-item .compat-field-wpmlhspace .field, 
.compat-item .compat-field-wpmlalign .label
.compat-item .compat-field-wpmlhspace .label {
    margin: 0;
}

/* Forms BEG */

.newsletters ul#form_addedfields {
    
}

.newsletters ul#form_addedfields li {
    
}

.newsletters ul#form_availablefields {
    
}

.newsletters ul#form_availablefields li {
    float: left;
    width: 50%;
}

.newsletters ul#form_availablefields li input {
    width: 90%;
}

.newsletters_flag {
    width: 20px;
    border: none;
}

.newsletters_delete_handle, 
.newsletters_edit_handle {
    float: right;
    top: 10px;
    position: relative;
    right: 0;
    display: inline-block;
}

.newsletters_handle_more {
    font-size: 12px;
    margin: 0;
    color: #999;
    font-weight: normal;
}

img.mailapi_icon {
    width: 16px;
}

/* Forms END */

.newsletters .btn-file {
    position: relative;
    overflow: hidden;
}
.newsletters .btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.newsletters .btn-file {
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    line-height: 2.15384615;
    min-height: 30px;
    margin: 0;
    padding: 0 10px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;
    color: #2271b1;
    border-color: #2271b1;
    background: #f6f7f7;
    vertical-align: top;
}



.newsletters .btn-file:before {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 12px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    /* font: normal normal normal 14px/1.5 FontAwesome !important; */
    content: "\f093";
    margin-right: 5px
}

.newsletters .ui-datepicker-trigger:before {
    font-family: FontAwesome !important;
    content: "\f073";
}

.newsletters .ui-state-error {
    margin: 8px 0 15px 0px;
    font-size: 90%;
}

td.column-newsletters, th.column-newsletters {
    text-align: center;
}

.newsletters_fielderror {
    border: 1px #CC0000 solid !important;
}

.newsletters .ui-state-error p {
    font-weight: normal;
    line-height: 18px;
    margin: 5px 15px;
}

.newsletters .ui-datepicker-trigger img {
    display: none;
}

.newsletters_sendajaxcount, 
.newsletters_importajaxcount, 
.newsletters_exportajaxcount {
    font-size: 110%;
}

/*.select2-container {
    min-width: 100px !important;
}

.select2-multiple .select2-container {
    width: auto !important;
}

.select2-search__field {
    box-shadow: none !important;
    margin: 0;
    padding: 0;
}

.select2-search--inline {
    margin: 0;
    padding: 0;
}

.select2-container .select2-selection--multiple {
    min-height: 30px;
    height: 30px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-top: 4px;
}*/

.newsletters_write_advanced {
    position: relative;
}

.newsletters_write_advanced .newsletters_templates {
    float: left;
    width: 48%;
    padding: 1%;
    min-width: 300px;
}

.newsletters_write_advanced .newsletters_mailinglists {
    float: left;
    width: 48%;
    padding: 1%;
    min-width: 300px;
}

.add-new-h2-green {
    margin-left: 4px;
    padding: 4px 8px;
    position: relative;
    top: -3px;
    color: green;
    text-decoration: none;
    border: none;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    background: #e0e0e0;
    text-shadow: none;
    font-weight: 600;
    font-size: 13px
}

.add-new-h2-green:hover {
    background: green;
    color: #fff
}

.newsletters .minor-img-container {
    max-height: 150px;
    overflow: hidden;
}

.newsletters-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #0074a2;
    background-position: center 24px;
    -webkit-background-size: 85px 85px;
    background-size: 85px 85px;
    color: #78c8e6;
    font-size: 14px;
    text-align: center;
    font-weight: 600;
    margin: 5px 0 0;
    padding: 15px 0;
    display: inline-block;
    width: 150px;
    text-rendering: optimizeLegibility;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}

.newsletters .publishing-action-inside, 
.newsletters #submitdiv .publishing-action-inside {
    margin: 15px 0 0 0;
    padding: 0 5px;
}

.newsletters-changelog ul {}

.newsletters-changelog ul li {
    margin-left: 20px !important;
}

/* Preview/Preheader Stuff */
.newsletters-preview {
    padding: 15px 25px;
    background: #fcfcfc;
}

.newsletters-preview .newsletters-preview-fromname {
    font-weight: bold;
    font-size: 18px;
    margin: 15px 0;
    color: #333333;
}

.newsletters-preview .newsletters-preview-subject {
    font-weight: normal;
    font-size: 16px;
    margin: 10px 0;
    color: #515151;
}

.newsletters-preview .newsletters-preview-preheader {
    font-weight: normal;
    color: #818181;
    margin: 10px 0;
}

.newsletters #tableofcontentsdiv .inside {
    /*padding-top: 6px;*/
}

.newsletters #tableofcontentsdiv .inside label {
    font-weight : 600;
    font-size : 14px;
}

.newsletters #tableofcontentsdiv h3.hndle,
.newsletters #tableofcontentsdiv .handlediv {
    display: none;
}

/* Admin Mode Switcher */

.newsletters .advanced-setting {
    display: none;
}

.newsletters #tableofcontentsdiv .newsletters-admin-mode-switcher {
    margin: 0 15px 0 0;
    padding: 0 0 0 0;
}

.newsletters #tableofcontentsdiv.fixed .newsletters-admin-mode-switcher {
    text-align: center;
    display: block;
    margin: 15px 0;
    padding: 0 0 0 0;
}

.newsletters #tableofcontentsdiv .savebutton {
    display: none;
    text-align: center;
}

.newsletters #tableofcontentsdiv.fixed {
    position: fixed;
    right: 20px;
    bottom: 55%;
    z-index: 2;
    width: 280px;
    top: 40px;
}

.newsletters #tableofcontentsdiv.fixed .inside {
    padding: 15px;
    background: white;
    border: 1px solid #e5e5e5;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
}

.newsletters #tableofcontentsdiv.fixed .inside select, 
.newsletters #tableofcontentsdiv.fixed .inside .select2-container {
    max-width: 100%;
}

.newsletters #tableofcontentsdiv.fixed .savebutton {
    display: block;
}

/* BEG Dashboard Widget */

.newsletters-dashboard-widget {
    position: relative;
    overflow: auto;
    margin: 10px 0;
    padding: 10px 10px 0;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    background: #fff;
    font-size: 13px;
    line-height: 2.1em
}

.newsletters-dashboard-widget h3 {
    margin: 0;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.2
}

.newsletters-dashboard-widget h4 {
    margin: 1.33em 0 0;
    font-size: 16px !important;
}

.newsletters-dashboard-widget li {
    font-size: 14px
}

.newsletters-dashboard-widget p {
    color: #777
}

.newsletters-dashboard-widget a {
    text-decoration: none
}

.newsletters-dashboard-widget .about-description {
    font-size: 16px;
    margin: 0
}

.newsletters-dashboard-widget .newsletters-dashboard-widget-close {
    position: absolute;
    top: 5px;
    right: 10px;
    padding: 20px 15px 0 3px;
    font-size: 13px;
    text-decoration: none;
    line-height: 1
}

#newsletters-dashboard-widget.newsletters-dashboard-widget .newsletters-dashboard-widget-close:before {
    position: absolute;
    left: -18px;
    margin-top: -2px;
    -webkit-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out
}

.wp-core-ui .newsletters-dashboard-widget .button.button-hero {
    margin: 15px 13px 3px 0;
    padding: 12px 36px;
    height: auto;
    line-height: 1.4285714;
    white-space: normal
}

.newsletters-dashboard-widget-content {
    margin-left: 13px;
    max-width: 1500px
}

.newsletters-dashboard-widget .newsletters-dashboard-widget-column-container {
    clear: both;
    overflow: hidden;
    position: relative
}

.newsletters-dashboard-widget .newsletters-dashboard-widget-column {
    width: 50%;
    min-width: 200px;
    float: left
}

.ie8 .newsletters-dashboard-widget .newsletters-dashboard-widget-column {
    min-width: 230px
}

.newsletters-dashboard-widget .newsletters-dashboard-widget-column:first-child {
    width: 36%
}

.newsletters-dashboard-widget-column p.hide-if-no-customize {
    margin-top: 10px
}

.newsletters-dashboard-widget-column p {
    margin-top: 7px;
    color: #464646
}

.newsletters-dashboard-widget .welcome-icon {
    display: block;
    padding: 0 0 8px;
    background: 0 0 !important
}

.newsletters-dashboard-widget .welcome-icon:before {
    color: #888;
    font: 400 20px/1 dashicons;
    speak: none;
    display: inline-block;
    padding: 0 10px 0 0;
    top: -1px;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-decoration: none !important;
    vertical-align: top
}

.newsletters-dashboard-widget .welcome-edit-page:before, .newsletters-dashboard-widget .welcome-write-blog:before {
    content: '\f119';
    top: -3px
}

.newsletters-dashboard-widget .welcome-add-page:before {
    content: '\f132'
}

.newsletters-dashboard-widget .welcome-view-site:before {
    content: '\f115';
    top: -2px
}

.newsletters-dashboard-widget .welcome-widgets-menus:before {
    content: '\f116';
    top: -2px
}

.newsletters-dashboard-widget .welcome-comments:before {
    content: '\f117';
    top: -1px
}

.newsletters-dashboard-widget .welcome-learn-more:before {
    content: '\f118';
    top: -1px
}

.newsletters-dashboard-widget .welcome-widgets-menus {
    line-height: 16px
}

.newsletters-dashboard-widget .newsletters-dashboard-widget-column ul {
    margin: .8em 1em 1em 0
}

.newsletters-dashboard-widget .newsletters-dashboard-widget-column li {
    line-height: 16px;
    list-style-type: none
}

ul#fieldoptions {}

ul#fieldoptions li {
    position: relative;
}

ul#fieldoptions li.fieldoptions-sortable {
    width: 60%;
    display: block;
    /* background: white; */
    /* padding: 5px; */
    margin: 0 0 10px 0;
}

ul#fieldoptions li.ui-sortable-placeholder {
    background: #f8f8f8;
    width: 52%;
    margin: 0 4% 10px 4%;
    border: 2px #ccc dotted;
    border-radius: 3px;
    visibility: visible !important;
}

ul#fieldoptions li span.fieldoptions-handle {
    cursor: url('../images/openhand.cur'), default !important;
    float: left;
    width: 5%;
    height: 100%;
}

ul#fieldoptions li span.fieldoptions-handle .fa-border {
    background: white;
    padding: 2px 4px;
    border: 1px #ccc solid;
}

ul#fieldoptions li span.fieldoptions-handle.ui-sortable-helper {
    cursor: url('../images/closedhand.cur'), default !important;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

ul#fieldoptions li span.fieldoptions-remove {
    float: left;
    width: 5%;
}

ul#fieldoptions li span.fieldoptions-input {
    float: left;
    width: 88%;
    padding: 0 1%;

}

/* WORDPRESS ADMIN BEGIN */

table.mceLayout {
    border: 1px #f1f1f1 solid !important;
}

.newsletters_gravatar_wrapper {
    margin: 0 10px 0 0;
    float: left;
}

.newsletters_gravatar {
    display: block;
}

.newsletters_circular, 
.newsletters img.avatar, 
.newsletters .img-rounded, 
.newsletters .extensionicon {
    /*border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;*/
    border-radius: 6px;
}

img.newsletters_gravatar {
    /*box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1);
                                        -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1);
                                        -moz-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1);
                                        border-radius: 3px;
                                        border: none;
                                        width: 45px;*/
}

.newsletters table tbody tr.arow {
    background: #F9F9F9;
}

.newsletters table {
  width: 100%;
}

.newsletters table.loading thead,
.newsletters table.loading tbody {
  display: table;
  width: 100%;
}

.newsletters table.loading tbody {
    position: relative;
}

.newsletters table.loading tbody:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.1);
    background-image: url(data:image/gif;base64, );
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px 24px;
    content: "";
}

.newsletters .submitbox .sendfromwrapper {}

.newsletters .submitbox #sendfrom {
    padding: 0;
    overflow: hidden;
    display: block;
    line-height: 24px;
    height: 24px;
}

.newsletters .submitbox #sendfrom #sendfrom-image,
.newsletters .submitbox #sendrecurring #sendrecurring-image {
    margin: 0 5px 0 0;
    font-size: 20px;
    display: block;
    float: left;
    color: #8f8f8f;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.newsletters .submitbox #sendfrom-value {
    margin: 0 0 0 24px;
}

.newsletters .submitbox #sendfrom-value abbr {
    border-bottom: 1px #999999 dotted;
    cursor: pointer;
    padding: 2px 0;
}

.newsletters .submitbox .sendfromwrapper #sendfromdiv,
.newsletters .submitbox #sendrecurringdiv {
    margin: 0 0 0 24px;
    padding: 5px 0 0 0;
}

.newsletters .submitbox .sendfromwrapper #sendfromdiv .form-field,
.newsletters .submitbox #sendrecurringdiv .form-field {
    margin: 10px 0;
}

.newsletters .submitbox .sendfromwrapper #sendfromdiv label,
.newsletters .submitbox #sendrecurringdiv label {
    display: block;
}

.newsletters table.queuetable {
    border: none;
}

.newsletters table.queuetable td {
    vertical-align: middle;
}

.newsletters .tablenav-pages .paging-input {
    /*margin: 0 4px;*/
}

.newsletters .tablenav a.button {
    display: inline-block;
    margin: 0 0 0 0;
}

/* Space before Delete text on Delete buttons on View pages */
.newsletters .tablenav .fa.fa-times {
    margin-right: 3px;
}

.newsletters table.form-table th {
    /*white-space: nowrap;*/
}

.newsletters ul.insertfieldslist {}

.newsletters ul.insertfieldslist li {
    width: 100%;
}

.newsletters ul.insertfieldslist li .press {
    display: block !important;
    overflow: hidden;
    text-align: left;
    margin: 0 10px 0 0 !important;
}

.newsletters span.insertfieldslistcheckbox {
    float: left;
    margin: 0 5px 0 0;
    padding: 2px 5px;
}

.newsletters .ui-slider {
    margin: 10px 0;
    background: #CCCCCC;
    max-width: 500px;
}

.newsletters .ui-slider-handle {
    cursor: ew-resize !important;
    background: #333333;
}

.newsletters .slider-value {
    float: left;
    font-size: 80%;
    font-weight: bold;
    border: 1px #000000 solid;
    border-radius: 999px;
    padding: 2px 5px;
    vertical-align: top;
    text-align: center;
    background: #000000;
    color: #ffffff;
}

.newsletters-ui-tooltip {
    padding: 8px !important;
    position: absolute !important;
    z-index: 9999 !important;
    max-width: 300px !important;
    -webkit-box-shadow: 0 0 5px #aaa !important;
    box-shadow: 0 0 5px #aaa !important;
    text-shadow: none !important;
    background: #000000 !important;
    opacity: .8 !important;
    filter: alpha(opacity=80) !important;
    zoom: 1 !important;
    border-width: 2px !important;
    border-color: #000000 !important;
    border-radius: 4px !important;
    -moz-border-radius: 4px !important;
    -webkit-border-radius: 4px !important;
}

.newsletters-ui-tooltip .ui-tooltip-content {
    color: #fff !important;
    font-size: 12px !important;
    background-color: #000 !important;
    color: #fff !important;
    text-align: center !important;
    text-shadow: none !important;
    white-space: normal !important;
}

.newsletters #farbtastic {
    position: absolute !important;
    z-index: 999 !important;
    display: none;
}

.newsletters .iris-picker {
    position: absolute;
    z-index: 999;
}

.newsletters input.wp-color-picker {
    margin: 0 6px 6px 0;
}

.newsletters .mceIframeContainer {
    background: #FFFFFF !important;
}

.qtrans_title_input {
    border: 0 none;
    font-size: 1.7em;
    outline-style: none;
    outline-width: medium;
    padding: 3px 8px !important;
    width: 100%;
}

.qtrans_title_wrap {
    border: none !important;
    padding: 0 !important;
    margin-bottom: 25px !important;
}

/* Welcome History BEG */
#historydiv ul, #historydiv p {
    margin: 0;
    padding: 10px 0;
    word-wrap: break-word;
}

#historydiv ul {
    list-style: none outside none;
    padding: 0;
    margin: 15px 0 0 0;
    border: 1px #CCCCCC solid;
}

#historydiv ul li {
    margin: 0;
    border-bottom: 1px #CCCCCC solid;
    border-top: 1px #FFFFFF solid;
    background: #efefef;
    padding: 10px 20px;
}

#historydiv ul li.last {
    border-bottom: none !important;
}

#historydiv ul li.alternate {
    background: #fcfcfc !important;
}

#historydiv h4 {
    line-height: 1.7em;
    margin: 3px 0;
    word-wrap: break-word;
}

#historydiv h4 abbr {
    color: #999999;
    font-family: sans-serif;
    font-size: 12px;
    font-weight: normal;
    margin-left: 3px;
}

#historydiv .newsletters-pie-chart-holder {
    float: right;
    margin: 15px;
}

.newsletters-pie-chart-holder {
    margin: 15px;
}

/* Welcome History END */

.newsletters-chart-legend {
    display: block;
    clear: both;
    margin: 10px 0;
}

/* Welcome Stats BEG */
#statsdiv {}

.newsletters-chart-legend ul {
    padding: 0;
    margin: 0;
}

.newsletters-chart-legend ul li {
    float: left;
    margin: 0 10px 0 0;
    line-height: 20px;
    height: 20px;
    display: block;
}

.newsletters-chart-legend ul li span {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    float: left;
    margin: 0 5px 0 0;
}

/* Welcome Stats END */

.newsletters .postbox, #dashboard-widgets #wp-mailinglist {
    background-image: none !important;
}

.newsletters .postbox .total {
    text-align: center;
}

.newsletters .postbox .total .totalnumber {
    font-size: 250%;
}

.newsletters .postbox .total .totalsmall {
    font-size: 95%;
    margin: -15px 0 15px 0;
    display: block;
}

.newsletters_error, 
.newsletters_error a {
    color: #CC0000 !important;
}

.newsletters_success, 
.newsletters_success a {
    color: #629632 !important;
}

.newsletters_warning, 
.newsletters_warning a {
    color: #e66f00;
}

.newsletters_howto {
    color: #999;
}

ul#wpmlsubmenu li {
    display: inline;
    line-height: 200%;
    list-style: none;
    text-align: center;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

ul#wpmlsubmenu li {
    padding: 0 0 8px 17px;
}

ul#wpmlsubmenu {
    margin: 0;
    list-style: none;
    padding: 6px 0 3px 0;
    border-top: 1px #cccccc solid;
}

ul#wpmlsubmenu li {
    font-size: 14px;
}

ul#wpmlsubmenu a {
    text-decoration: none;
}

ul#wpmlsubmenu a.current {
    color: rgb(213, 78, 33);
}

/* Sortable */

.sortable-elements {
    display: inline-block;
}

.sortable-form-table-element, .sortable-form-table-headings, .ui-sortable li.newsletters_lineitem {
    float: left;
    margin-bottom: 12px;
    width: 100%;
    padding: 8px 0;
}

.ui-sortable li.newsletters_lineitem {
    float: left;
    width: 30%;
    min-width: 30%;
    clear: both;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

.ui-sortable li.ui-sortable-helper {
    width: 30%;
}

.ui-sortable li.newsletters_lineitem span.link {
    right: 10px;
    position: absolute;
}

.ui-sortable li.newsletters_lineitem span.link a {
    font-size: 90%;
}

.ui-sortable li.newsletters_lineitem span.link a:hover {
    text-decoration: none;
}

.sortable-form-table-element, .ui-sortable li.newsletters_lineitem {
    cursor: url('../images/openhand.cur'), default !important;
    background-color: #F1F1F1;
    background-image: -ms-linear-gradient(top, #F9F9F9, #ECECEC);
    background-image: -moz-linear-gradient(top, #F9F9F9, #ECECEC);
    background-image: -o-linear-gradient(top, #F9F9F9, #ECECEC);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#F9F9F9), to(#ECECEC));
    background-image: -webkit-linear-gradient(top, #F9F9F9, #ECECEC);
    background-image: linear-gradient(top, #F9F9F9, #ECECEC);
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #DFDFDF;
}

#products .sortable-form-table-element table, #products .sortable-form-table-headings table,
#products.ui-sortable {
    width: 100%;
    border-spacing: 0;
}

.sortable-form-table-element table td, .sortable-form-table-headings table td {
    padding: 0 8px;
    width: 43%;
    color: #333;
    font-weight: bold;
    text-shadow: 1px 1px 0 #FFF;
}

.ui-sortable li.newsletters_lineitem {
    color: #333;
    font-weight: bold;
    text-shadow: 1px 1px 0 #FFF;
    padding: 12px;
}

.sortable-form-table-element table td input[type=text] {
    font-weight: normal;
    padding: 5px;
}

.sortable-form-table-element table td.wpco-checkbox-required, .sortable-form-table-element table td.wpco-checkbox-show,
.sortable-form-table-headings table td.wpco-checkbox-required, .sortable-form-table-headings table td.wpco-checkbox-show {
    width: 5%;
    text-align: center;
}

.newsletters-placeholder {
    float: left;
    width: 100%;
    height: 43px;
    border: 1px dashed #c9c9c9;
    background: #f9f9f9;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    margin-bottom: 12px;
}

.ui-sortable-placeholder {
    border: 1px dashed #c9c9c9;
    background: #f9f9f9;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

#fields .newsletters-placeholder {
    float: left;
    clear: both;
    width: 30%;
    padding: 0 12px;
}

.ui-sortable-helper, .ui-sortable li.ui-sortable-helper {
    cursor: url('../images/closedhand.cur'), default !important;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

.alignright, .wpmlalignright {
    text-align: right !important;
}

.newsletters .scroll-list {
    white-space: nowrap;
    overflow: auto;
    max-height: 400px;
    width: auto;
    background: #f1f1f1;
}

.newsletters .newsletters-two-columns .postbox {
    width: 48%;
    float: left;
    margin: 0 20px 20px 0;
}

.newsletters .postbox .scroll-list,
.misc-pub-section .scroll-list,
.ui-tabs .scroll-list,
#cboxLoadedContent .scroll-list {
    background: #FFFFFF !important;
}

#aa, #jj, #hh, #mn {
    padding: 1px;
    font-size: 12px;
}

#jj, #hh, #mn {
    width: 2em;
}

#aa {
    width: 3.4em;
}

.wpmlcheckboxlabel, .wpmlradiolabel {
    display: block;
    padding-bottom: 2px;
}

.wpmlcustomfieldcaption {
    display: block;
}

/* Admin Menu BEG */

.newsletters-update-nag-wrapper {
    position: relative;
}

.newsletters-update-nag {
    vertical-align: middle;
}

/*.newsletters i {
    font-size: 14px;
}*/

#newsletters-extensions i.fa {
    font-size: 60px;
    color: #999;
    padding: 5px;
}

.fa:hover {
    
}

i.fa-sm {
    font-size: 12px;
}

i.fa-lg {
    font-size: 1.33333333em;
}

.button .fa {
    font: normal normal normal 14px/1.5 FontAwesome !important;
}

button:focus {
    outline: 0 !important;
}

.newsletters_preview_device {
    
}

.newsletters_preview device i {
    color: #999;
}

.newsletters_preview_device.active, 
.newsletters_preview_device.active i {
    color: green;
}

#adminmenu .toplevel_page_newsletters div.wp-menu-image:before,
.mce-i-Newsletters:before,
.mce-i-newsletters:before,
.newsletters-update-nag:before,
#wpadminbar .newsletters-lite a:before, 
#wp-admin-bar-newsletterscontrol:before {
    font-family: 'FontAwesome' !important;
    content: "\f0e0";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 18px;
}

#wpadminbar .newsletters-lite {}

#wpadminbar .newsletters-lite a {}

#wpadminbar .newsletters-lite-listlimit {}

#wpadminbar .newsletters-lite-listlimit a {}

#wpadminbar .newsletters-lite-subscriberlimit {}

#wpadminbar .newsletters-lite-subscriberlimit a {}

#wpadminbar .newsletters-lite-emaillimit {}

#wpadminbar .newsletters-lite-emaillimit a {}

#wpadminbar .newsletters-lite-submitserial {}

#wpadminbar .newsletters-lite-submitserial a:before {
    content: '' !important;
}

#wpadminbar .newsletters-lite-submitserial a {
    color: green !important;
    background: white;
    font-weight: bold;
}

#wpadminbar .newsletters-lite-upgrade {}

#wpadminbar .newsletters-lite-upgrade a:before {
    content: '' !important;
}

#wpadminbar .newsletters-lite-upgrade a {
    color: red !important;
    background: white;
    font-weight: bold;
}

.wpmlhelp {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
}

.wpmlhelp i.fa {
    margin: 0;
}

.wpmlhelp a,
.wpmlhelp a:hover,
.wpmlhelp a:active {
    text-decoration: none;
    color: #333;
}

/* Admin Menu END */

/* TABS */

.tribulant_plugin_tabs {
    background-color: #464646;
    background-image: -moz-linear-gradient(center bottom , #373737, #3A3A3A 5px);
    border-radius: 3px 3px 3px 3px;
    display: block;
    margin: 10px 0pt;
    padding-top: 10px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.tribulant_plugin_tabs ul {
    margin: 0pt;
    padding: 0pt;
    float: left;
    width: 100%;
}

.tribulant_plugin_tabs ul li {
    float: left;
    height: 29px;
    line-height: 30px;
    margin-bottom: 0pt;
    position: relative;
    vertical-align: baseline;
    width: auto;
    margin-bottom: 0;
}

.tribulant_plugin_tabs ul li.active a {
    color: #666;
    text-shadow: 0 none;
    background: #FFF;
    z-index: 9000;
    text-shadow: 0;
}

.tribulant_plugin_tabs ul li.active a:hover {
    color: #666;
    cursor: inherit;
    text-decoration: none;
}

.tribulant_plugin_tabs ul li a {
    float: left;
    display: block;
    margin: 0;
    padding: 0 12px;
    text-decoration: none;
    color: #303030;
    line-height: 30px;
    text-shadow: 0 1px 0 #FFF;
    background: url(../images/bg-center.png) repeat-x;
    position: relative;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    z-index: 8000;
}

.tribulant_plugin_tabs ul li a:hover {
    color: #666;
    text-shadow: 0;
    text-decoration: none;
}

.wpml .border-right, 
.wpml .border-left {
    float: left;
    width: 24px;
    height: 30px;
    background: #FFF;
}

.wpml .border-right {
    background: url(../images/bg-right.png) no-repeat;
    position: relative;
    margin-right: -16px;
    z-index: 8000;
}

.wpml .border-left {
    position: relative;
    background: url(../images/bg-left.png) no-repeat;
    z-index: 8000;
}

.wpml .active .border-right {
    background: url(../images/bg-right-active.png) no-repeat;
    z-index: 9000;
}

.wpml .active .border-left {
    background: url(../images/bg-left-active.png) no-repeat;
    z-index: 9000;
}

.wpml .currentfile a img {
    border: 1px #CCCCCC solid;
    padding: 2px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    background: white;
}

.wpml .currentfile a:hover img {
    border: 1px #515151 solid !important;
}

/* WORDPRESS ADMIN END */

#usebuilder-wrapper {
    margin: 20px 0 0 0; 
}

#usebuilder {
    
}

#usebuilder i {
    font-size: 20px;
}

#newsletters_builder {
    margin: 20px 0 0 0;
}

.gjs-input-number, .gjs-field input, .gjs-field select, .gjs-field textarea {
    color: rgba(255, 255, 255, 0.7) !important;
}

.gjs-field select {
    height: 25px;
    line-height: 100% !important;
}

.gjs-pn-views-container, 
.gjs-pn-views {
    width: 25%;
}

.gjs-cv-canvas, 
.gjs-pn-commands {
    width: 75%;
}

.gjs-pn-options {
    right: 25%;
}





.builder_tabs {
    position: relative;
    clear: both;
}

.builder_tabs label {
    background: #eee;
    padding: 10px;
    border: 1px solid #ccc;
    margin-left: -1px;
    position: relative;
    left: 1px;
    top: -1px;
}

.builder_tabs input[type=radio] {
    display: none;
}

.builder_tabs > label.active {
    background: #fff;
    border-bottom: 1px solid #fff;
    z-index: 2;
}



#usebuilder-wrapper  .btn-lg {
    padding: 8px 12px;
    font-size: 15px;
    line-height: 1.3333333;
    border-radius: 6px;
    transition: 0.2s ease all;
    border-radius: 4px;
}

.newsletters .fa {
    font: normal normal normal 14px/1 FontAwesome !important;
}

.wp-admin .newsletters .fa {   font-family: var(--fa-style-family, "Font Awesome 7 Free"), FontAwesome !important; }


.misc-pub-section.newsletters_mailinglists.roles  {
    float: right;
}

.newsletters .postbox .postbox-header .newsletters_handle_more{ margin-right: 10px; margin-left: 10px;
}

h2.hndle.ui-sortable-handle > i { margin-right: 10px; }

h2.hndle.ui-sortable-handle {
    display: flex;
    justify-content: start;
}

.newsletters_delete_handle {order: 1; top: 0;}
.newsletters_edit_handle {order: 2; top: 0; margin-right: 10px;}
.handle-actions {order: 3; }



button.button.newsletters-media-button {
    display: inline-flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}




#newsletters-ai-assistant-wrap,
#newsletters-ai-rewrite-wrap  {
    background-image: linear-gradient(45deg, #4a00e0, #8e2de2);
    padding: 4px;
    border-radius: 5px;
    display: inline-flex;
    align-content: center;
    align-items: center;
}

#newsletters-ai-assistant, #newsletters-ai-assistant_PRO,
#newsletters-ai-rewrite, #newsletters-ai-rewrite_PRO {
    background: #fff;
    /* border: 7px solid transparent; */
    /* border-image: linear-gradient(45deg, #4a00e0, #8e2de2); */
    border-radius: 8px !important;
    border-image-slice: 1;
    color: white;
    display: inline-flex;
    align-content: space-around;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #4a00e0, #8e2de2);
    border: none;
}

#newsletters-ai-assistant.disabled,
#newsletters-ai-rewrite.disabled {
    opacity:0.5;
    cursor:not-allowed;
}
#newsletters-ai-assistant i,
#newsletters-ai-rewrite i {
    margin-right:4px;
}

#newsletters-ai-modal {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background:rgba(0,0,0,0.5);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:100000;
}

#usebuilder-wrapper {
    display: inline-flex;
}

#newsletters-ai-modal.open {
    display:flex;
}

#newsletters-ai-modal .newsletters-ai-content {
    background:#fff;
    padding: 34px 24px 24px;
    width: min(640px, calc(100vw - 40px));
    max-height: calc(100vh - 40px);
    min-width: 360px;
    min-height: 320px;
    box-sizing:border-box;
    position:relative;
    z-index:100001;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    border-radius:16px;
    box-shadow:0 24px 60px rgba(20, 24, 32, 0.18);
    backdrop-filter: blur(4px);
    transition: transform .25s ease, box-shadow .25s ease;
}

#newsletters-ai-modal .newsletters-ai-content:focus-within {
    transform: translateY(-2px);
    box-shadow:0 28px 70px rgba(20, 24, 32, 0.22);
}

#newsletters-ai-modal .newsletters-ai-body {
    display:flex;
    flex-direction:column;
    gap:16px;
    overflow-y:auto;
    max-height:100%;
    padding-right:4px;
}

#newsletters-ai-modal .newsletters-ai-row {
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    align-items:center;
    justify-content:space-between;
}

#newsletters-ai-modal .newsletters-ai-row--selects {
    align-items:flex-start;
}

#newsletters-ai-modal .newsletters-ai-row--selects select {
    /* flex:1 1 260px; */
}

#newsletters-ai-modal .newsletters-ai-label label {
    font-weight:600;
}

#newsletters-ai-modal .newsletters-ai-context-toggle label {
    display:flex;
    align-items:center;
    gap:6px;
    font-weight:500;
}

#newsletters-ai-modal .newsletters-ai-context-toggle .wpmlhelp {
    display:inline-flex;
}

#newsletters-ai-modal .newsletters-ai-context-toggle input[type="checkbox"] {
    margin:0;
}

#newsletters-ai-modal .newsletters-ai-chatgpt {
    display:flex;
    /* flex-direction:column; */
    gap:6px;
    min-width:200px;
    /* flex:1 1 220px; */
}

#newsletters-ai-modal .newsletters-ai-field {
    display:flex;
    flex-direction:column;
}

#newsletters-ai-modal .newsletters-ai-field input[type="text"] {
    width:100%;
}

#newsletters-ai-modal .newsletters-ai-actions {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    justify-content:flex-start;
}

#newsletters-ai-modal .newsletters-ai-settings-link {
    margin-top:4px;
}

#newsletters-ai-modal .newsletters-ai-close {
    position: absolute;
    top: -2px;
    right: 12px;
    border: none;
    background: transparent;
    color: #444;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    padding: 8px;
    border-radius: 999px;
    transition: color .2s ease, transform .2s ease, background-color .2s ease, box-shadow .3s ease;
}

#newsletters-ai-modal .newsletters-ai-close:hover,
#newsletters-ai-modal .newsletters-ai-close:focus {
    color:#111;
    outline:none;
    background:rgba(17, 24, 39, 0.1);
    box-shadow:0 10px 30px rgba(15, 23, 42, 0.25);
    transform: translateY(-1px) scale(1.05);
}

#newsletters-ai-modal .newsletters-ai-close:active {
    transform: scale(0.96);
}

#newsletters-ai-modal .newsletters-ai-close .fa {
    pointer-events:none;
}

#newsletters-ai-modal .newsletters-ai-content select {
    position:relative;
    z-index:100002;
}
.select2-container {
    z-index:10 !important;
}
#newsletters-ai-prompt {
    width:100%;
}
#newsletters-ai-output {
    width: 100%;
    min-height:200px;
    padding:8px;
    border:1px solid #ccd0d4;
    background:#fff;
    overflow:auto;
    resize: both;
    max-width:100%;
    border-radius:8px;
    box-shadow:inset 0 1px 2px rgba(15, 23, 42, 0.08);
}
#newsletters-ai-output:empty:before {
    content: attr(data-placeholder);
    color:#666;
}

.newsletters-ai-toast {
    position:fixed;
    bottom:20px;
    right:20px;
    background:rgba(0,0,0,0.8);
    color:#fff;
    padding:10px 15px;
    border-radius:3px;
    z-index:100003;
    opacity:0;
    transition:opacity .3s ease;
}
.newsletters-ai-toast.show {
    opacity:1;
}

/* Improve visibility when hovering or selecting components in GrapesJS */
.gjs-selected,
.gjs-hovered {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

/* Allow button blocks to respect width/height settings */
#gjs .gjs-btn,
#gjs .gjs-button,
#gjs .gjs-link {
    display: inline-block;
}

#newsletters-chatgpt-model-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

#newsletters-chatgpt-model-wrapper select {max-width: 180px}
#newsletters-chatgpt-model-message {
    max-height: 40px;
    text-wrap: nowrap;
    max-width: 180px;
    overflow: hidden;
}

#newsletters-ai-output {
    max-height: 150px;
    max-width: calc(100% - 17px);
}

.wp-admin .select2-container .select2-selection--single {
    line-height: 2;
    color: #2c3338;
    border-color: #8c8f94;
    box-shadow: none;
    border-radius: 3px;
    padding: 0 24px 0 8px;
    min-height: 30px;
    max-width: 25rem;
    -webkit-appearance: none;
    background-size: 16px 16px;
    cursor: pointer;
    vertical-align: middle;
}

.dashboard_page_newsletters-about a.current, a[href$=newsletters-about]{
    display: none !important;
}

.newsletters-custom-checkbox {
    display: flex;
    align-items: center;
}