.mainwp-widget .header {
    margin-bottom: 15px;
}

.mainwp-widget .header .right {
    float: right;
}

.mainwp-widget .header .inline {
    display: inline;
}

.mainwp-ui .ui.menu {
    padding-top: 0 !important;
}

.mainwp-ui .mainwp-main-navigation-menu .menu .item {
    font-size: .95em;
}

.mainwp-ui .ui.vertical.menu>.item:first-child {
    border-radius: 0 !important;
}

.mainwp-ui .ui.message:last-child {
    margin-bottom: 1em;
}

.iconlbl {
    width: 40px;
    display: inline-block;
}

.mainwp-ui .ui.toggle.checkbox input:checked~.box::before,
.mainwp-ui .ui.toggle.checkbox input:checked~label::before {
    background-color: #7fb100 !important;
}

.mainwp-ui .alternate {
    background-color: rgba(255, 0, 0, 0) !important;
}

.mainwp-ui .ui.search,
.mainwp-ui .icon.search {
    background: none !important;
}

.mainwp-ui:not(.mainwp-ui-setup) .ui.segment:not(.mainwp-widget) {
    border-radius: 0;
    border: 0;
    margin-top: 0;
    margin-bottom: 10px;
    box-shadow: none;
}

.mainwp-ui .ui.secondary.segment,
.mainwp-quick-setup .ui.secondary.segment {
    box-shadow: none;
}

.mainwp-ui .ui.alt.segment {
    border-top: none;
    padding-top: 0;
}

.mainwp-ui .green.pulsating.transition {
    box-shadow: 0 0 0 0 rgba(127, 177, 0, 0.5)
}

#mainwp-ignored-abandoned-plugins,
#mainwp-ignored-plugins,
#mainwp-ignored-abandoned-themes,
#mainwp-ignored-themes {
    padding-top: 1em;
}

#mainwp-general-settings .mainwp-main-content,
#mainwp-advanced-settings .mainwp-main-content,
#mainwp-tools-settings .mainwp-main-content,
#mainwp-early-updates-settings .mainwp-main-content,
#mainwp-mcrwc-settings .mainwp-main-content,
#mainwp-add-new-site .mainwp-main-content,
#mainwp-edit-site .mainwp-main-content {
    padding-top: 1em;
}

.mainwp-ui .ui.alt.mainwp-posts.segment {
    padding: 0 !important;
}

.mainwp-ui .ui.alt.mainwp-posts.segment .mainwp-main-content {
    padding-right: 0;
}

.mainwp-ui #mainwp-manage-plugins,
.mainwp-ui #mainwp-manage-themes,
.mainwp-ui #mainwp-install-plugins,
.mainwp-ui #mainwp-install-themes,
.mainwp-ui #mainwp-plugin-auto-updates,
.mainwp-ui #mainwp-manage-posts,
.mainwp-ui #mainwp-manage-pages,
.mainwp-ui #mainwp-theme-auto-updates,
.mainwp-ui #mainwp-manage-users,
.mainwp-ui #mainwp-add-clients {
    padding: 0 !important;
}

.mainwp-ui #mainwp-add-new-bulkpost {
    padding: 0 !important;
}

.mainwp-ui .mainwp-posts .mainwp-main-content,
.mainwp-ui #mainwp-manage-pages .mainwp-main-content,
.mainwp-ui #mainwp-manage-plugins .mainwp-main-content,
.mainwp-ui #mainwp-manage-themes .mainwp-main-content,
.mainwp-ui #mainwp-install-plugins .mainwp-main-content,
.mainwp-ui #mainwp-install-themes .mainwp-main-content,
.mainwp-ui #mainwp-plugin-auto-updates .mainwp-main-content,
.mainwp-ui #mainwp-theme-auto-updates .mainwp-main-content,
.mainwp-ui #mainwp-manage-users .mainwp-main-content,
.mainwp-ui #mainwp-manage-extensions .mainwp-main-content,
.mainwp-ui #mainwp-add-clients .mainwp-main-content {
    padding-right: 0 !important;
}

.mainwp-ui .mainwp-sidebar-left .mainwp-posts .mainwp-main-content,
.mainwp-ui .mainwp-sidebar-left #mainwp-manage-pages .mainwp-main-content,
.mainwp-ui .mainwp-sidebar-left #mainwp-manage-plugins .mainwp-main-content,
.mainwp-ui .mainwp-sidebar-left #mainwp-manage-themes .mainwp-main-content,
.mainwp-ui .mainwp-sidebar-left #mainwp-install-plugins .mainwp-main-content,
.mainwp-ui .mainwp-sidebar-left #mainwp-install-themes .mainwp-main-content,
.mainwp-ui .mainwp-sidebar-left #mainwp-plugin-auto-updates .mainwp-main-content,
.mainwp-ui .mainwp-sidebar-left #mainwp-theme-auto-updates .mainwp-main-content,
.mainwp-ui .mainwp-sidebar-left #mainwp-manage-users .mainwp-main-content,
.mainwp-ui .mainwp-sidebar-left #mainwp-add-clients .mainwp-main-content {
    padding-left: 0 !important;
}

.mainwp-ui #mainwp-groups-table tr.active {
    background: #f9fafb !important;
}

.mainwp-ui .ui.message.green a:not(.button) {
    color: #7fb100;
    font-weight: bolder;
    text-decoration: underline !important;
}

.mainwp-ui .ui.message.yellow a:not(.button) {
    color: #b58105;
    font-weight: bolder;
    text-decoration: underline !important;
}

.mainwp-ui .ui.message.info a:not(.button) {
    color: #276f86;
    font-weight: bolder;
    text-decoration: underline !important;
}

.mainwp-ui .ui.message.red a:not(.button) {
    color: #a00000;
    font-weight: bolder;
    text-decoration: underline !important;
}

.mainwp-ui .ui.message a:not(.button) {
    color: rgba(0, 0, 0, .87);
    font-weight: bolder;
    text-decoration: underline !important;
}

.mainwp-ui [data-tooltip][data-inverted]:before,
.mainwp-ui [data-tooltip][data-inverted]:after {
    z-index: 9999 !important;
}

.mainwp-ui [data-tooltip][data-inverted]:after {
    white-space: normal;
    width: max-content;
    max-width: 500px;
}

.mainwp-ui .progress .bar {
    border-radius: 0;
}

.mainwp-ui .ui.em.divider {
    margin-top: 0.5em !important;
    margin-bottom: 0.5em !important;
}

.mainwp-ui .ui.vertical.menu {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.mainwp-ui .ui.vertical.right.pointing.menu .active.item::after {
    left: -9px !important;
    right: auto !important;
    border-top: 0 solid #d4d4d5;
    border-right: 0 solid #d4d4d5;
    border-bottom: 1px solid #d4d4d5;
    border-left: 1px solid #d4d4d5;
}

.mainwp-ui .ui.multiple.dropdown>.label {
    vertical-align: baseline;
}

.mainwp-ui .mainwp-manage-updates-table .ui.checkbox {
    vertical-align: middle !important;
}

.mainwp-ui .mainwp-main-content .ui.checkbox:not(.slider, .toggle) .box::after,
.mainwp-ui .mainwp-main-content .ui.checkbox:not(.slider, .toggle) label::after,
.mainwp-ui #mainwp-manage-sites-content .ui.checkbox:not(.slider, .toggle) .box::after,
.mainwp-ui #mainwp-manage-sites-content .ui.checkbox:not(.slider, .toggle) label::after {
    top: 1px;
    left: 1px;
}

.mainwp-ui .ui.dropdown .menu,
.mainwp-ui .ui.selection.active.dropdown {
    z-index: 9999 !important;
}

.mainwp-ui i.plug.circular.icon {
    height: auto !important;
}

.mainwp-ui .ui.mini.circular.image {
    height: 35px !important;
    width: 35px !important;
}

.mainwp-ui:not(.mainwp-ui-setup) .ui.dimmer {
    background: rgba(255, 255, 255, 1);
}

.mainwp-ui.mainwp-ui:not(.mainwp-ui-setup) .ui.page.dimmer {
    z-index: 1002 !important;
}

.mainwp-ui .ui.dimmer.active,
.mainwp-ui .ui.dimmer.modals.active {
    z-index: 1000;
}

.mainwp-ui .mainwp-widget .ui.dimmer.active,
.mainwp-ui .mainwp-widget .ui.dimmer.modals.active {
    z-index: 1000;
}


.mainwp-ui .ui.modal .mainwp-html-popup {
    overflow: visible;
    z-index: 9999 !important;
}

.mainwp-ui .dt-scroll-body .ui.modal .mainwp-html-popup {
    overflow: visible;
    z-index: 9999 !important;
    border: 1px dashed red;
    position: absolute
}

.mainwp-ui .icon.card {
    padding: 0;
    min-width: auto;
    max-width: none;
    border: none;
    box-shadow: none;
    background: none !important;
}

.mainwp-ui .left.action.input .mainwp-color-picker-input {
    min-height: 2.71428571em;
    padding: 5px !important;
    max-width: 65px !important;
}

.mainwp-widget .mainwp-scrolly-overflow table.ui.dataTable {
    width: 100% !important;
}

.mainwp-widget table.dataTable.ui.table th.dt-type-numeric,
.mainwp-widget table.dataTable.ui.table td.dt-type-numeric {
    text-align: left !important;
}

.mainwp-ui #widget-uptime_monitoring_response_time .ui.card {
    min-width: 100px !important;
}

.mainwp-ui .mainwp-cards .ui.card {
  flex: 1 1 100px;
  min-width: 200px;
  max-width: 500px;
}

#mainwp-sites-previews .mainwp-cards.cards {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 0 !important;
}

#mainwp-sites-previews .mainwp-cards.cards > .card {
  margin: 0 !important;
  width: auto !important;
}

#mainwp-extensions-list .ui.four.cards {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 1.5rem !important;
  margin: 0 !important;
}

#mainwp-extensions-list .ui.four.cards > .card {
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
}

#mainwp-install-plugins-container.ui.three.cards {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 1.5rem !important;
  margin: 0 !important;
}

#mainwp-install-plugins-container.ui.three.cards > .card {
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
}

.mainwp-browse-themes .themes.ui.four.cards {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 1.5rem !important;
  margin: 0 !important;
}

.mainwp-browse-themes .themes.ui.four.cards > .theme {
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
}

.mainwp-ui .ui.form .field {
    margin: 0 0 1.25em !important;
}

/* classic theme */
.mainwp-ui .dt-scroll-body tbody tr.selected .ui.red.button {
    color: #fff !important;
}

.mainwp-ui .dt-scroll-body tbody tr.selected .ui.basic.red.button {
    color: var(--mainwp-red) !important;
}

.mainwp-ui .dt-scroll-body tbody tr.selected .ui.button.green {
    color: #fff !important;
}

.mainwp-ui .dt-scroll-body tbody tr.selected .ui.button.basic.green {
    color: var(--mainwp-green) !important;
}

/* end */

.mainwp-ui div.dt-container .dt-scroll-body {
    border-bottom: none !important;
}

/* end */


.mainwp-ui .ui.table[class*="center aligned"],
.mainwp-ui .ui.table [class*="center aligned"] {
    text-align: center !important;
}

/* to fix auto align left */
.mainwp-ui table.dataTable.ui.table th.dt-type-numeric,
.mainwp-ui table.dataTable.ui.table th.dt-type-date,
.mainwp-ui table.dataTable.ui.table td.dt-type-numeric,
.mainwp-ui table.dataTable.ui.table td.dt-type-date {
    text-align: left;
}

.mainwp-ui table.dataTable.ui.table td.right.aligned.dt-type-numeric,
.mainwp-ui table.dataTable.ui.table td.right.aligned.dt-type-date {
    text-align: right !important;
}

.mainwp-ui-page [data-tooltip][data-inverted]::before {
    background: #1c1d1b !important;
}


.mainwp-ui .ui.accordion.mainwp-blank-accordion .title,
.mainwp-ui .ui.accordion.mainwp-blank-accordion .content {
    background: none !important;
}
