/*-----------------------
        YITH Debug
 ------------------------*/
#wpadminbar .yith-debug-admin-bar div,
#wpadminbar .yith-debug-admin-bar:hover div {
    background: #05789c !important;
    color: #fff !important;
}

#wpadminbar .yith-debug-admin-bar a,
#wpadminbar .yith-debug-admin-bar strong {
    color: #fff !important;
}

#wpadminbar .yith-debug-admin-bar strong {
    font-weight: 600;
}

#wpadminbar .yith-debug-admin-bar-post-meta .ab-empty-item,
#wpadminbar .yith-debug-admin-bar-option .ab-empty-item {
    display: none;
}

#wpadminbar #wp-admin-bar-yith-debug-admin-bar-post-meta-default,
#wpadminbar #wp-admin-bar-yith-debug-admin-bar-option-default {
    padding: 0;
    max-height: 500px;
    overflow-y: auto;
}

#wpadminbar .yith-debug-admin-bar pre {
    padding: 10px;
    line-height: 1.5em;
}

.notice-yith {
    margin-left: 0;
    border-left-color: #acc327;
}

.notice-yith.notice-alt {
    background-color: #ecf7ed;
}

.yith-promo-banner-image-link {
    display: block;
    margin-bottom: 15px;
}

.yith-promo-banner-image {
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

/*-----------------------
    YITH FEEDS
 ------------------------*/

.yith-feeds-logo {
    display: table-cell;
    background: #005b7c;
    padding: 5px;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: text-bottom;
    width: 18px;
    height: auto;
    vertical-align: middle;
}

.yith-feeds-plugin-name {
    display: table-cell;
    vertical-align: middle;
}

/*-----------------------
    YITH Plugins Columns
 ------------------------*/
@media screen and (min-width: 783px) {

    .auto-fold #adminmenu .yith-plugin-fw-menu-2-columns.wp-not-current-submenu .wp-submenu-head {
        width: 100%;
    }

    #adminmenu .yith-plugin-fw-menu-2-columns.wp-not-current-submenu .wp-submenu {
        min-width: 320px;
        display: flex;
        flex-flow: row wrap;
    }

    #adminmenu .yith-plugin-fw-menu-2-columns.wp-not-current-submenu .wp-submenu li:not(.wp-submenu-head) {
        width: 50%;
        border-left: 1px solid #555;
        box-sizing: border-box;
    }

    #adminmenu .yith-plugin-fw-menu-2-columns.wp-not-current-submenu .wp-submenu li:not(.wp-submenu-head):nth-child(2n) {
        border-left: none;
    }

    #adminmenu .yith-plugin-fw-menu-3-columns.wp-not-current-submenu .wp-submenu {
        min-width: 480px;
        display: flex;
        flex-flow: row wrap;
    }

    #adminmenu .yith-plugin-fw-menu-3-columns.wp-not-current-submenu .wp-submenu li:not(.wp-submenu-head) {
        width: calc(100% / 3);
        border-left: 1px solid #555;
        box-sizing: border-box;
    }

    #adminmenu .yith-plugin-fw-menu-3-columns.wp-not-current-submenu .wp-submenu li:not(.wp-submenu-head):nth-child(3n + 2) {
        border-left: none;
    }
}

/*---------------------------
    YITH System Information
 ----------------------------*/
.yith-phpinfo img {
    float: right;
    border: 0;
}

#yith-system-alert span.yith-logo,
.yith-system-info h1 span.yith-logo {
    border-radius: 50%;
    background: #265b7a;
    height: 30px;
    width: 30px;
    display: flex;
    text-align: center;
    margin: 0 10px 0 0;
    float: left;
    align-items: center;
    justify-content: center;
}

.yith-system-info table {
    margin: 20px 0;
}

.yith-system-info table th {
    font-weight: bold;
    width: 25%;
    padding: 20px 12px;
}

.yith-system-info table td {
    word-break: break-all;
    padding: 20px 12px;
}

.yith-system-info table td.requirement-value {
    font-size: 14px;
    vertical-align: middle;
    text-align: left;
    color: #5da726;
    line-height: 19px;
    width: 90px;
}

.yith-system-info table td.requirement-value.has-errors {
    color: #a00;
}

.yith-system-info table td.requirement-value.has-warnings {
    color: #ffa200;
}

.yith-system-info table td.requirement-messages ul {
    margin: 0;
    padding: 0 0 10px 0;
    list-style: none!important;
}

.yith-system-info table td.requirement-messages ul li {
    margin-bottom: 3px;
}

.yith-system-info table td.requirement-messages ul li span.error {
    color: #a00;
    font-weight: bold;
}

.yith-system-info table td.requirement-messages ul li span.warning {
    color: #a00;
    font-weight: bold;
}

.yith-system-info-menu {
    font-weight: bold;
    font-size: 11px !important;
}
