/**
 * Admin style
 *
 * @author YITH <plugins@yithemes.com>
 * @version 1.0.0
 */

#yith-wccos-metabox .yith-wccos-icon-manager {
    height     : 200px;
    width      : 450px;
    overflow-y : scroll;
}

#yith-wccos-metabox .yith-wccos-icon-manager-wrapper {
    width : 500px;
}

#yith-wccos-metabox .yith-wccos-icon-manager-text {
    width : 450px;
}

#yith-wccos-metabox .yith-wccos-icon-list-wrapper li {
    display : inline-block;
    padding : 5px;
}

#yith-wccos-metabox .custom_icon_wrapper {
    display : none;
}

#yith_status_icon {
    width : 60px;
}

.yith_status_icon mark {
    display     : block;
    text-indent : -9999px;
    position    : relative;
    height      : 1em;
    width       : 1em;
    background  : 0 0;
    font-size   : 1.4em;
    margin      : 0 auto;
}

.column-yith_status_icon span {
    display    : block;
    position   : relative;
    height     : 1em;
    width      : 1em;
    background : 0 0;
    font-size  : 1.2em;
    margin     : 0 auto;
    color      : #777;
}

.column-yith_status_icon span::after {
    content                : "\e011";
    top                    : 0;
    font-family            : WooCommerce;
    speak                  : none;
    font-variant           : normal;
    text-transform         : none;
    line-height            : 1;
    -webkit-font-smoothing : antialiased;
    left                   : 0;
    text-align             : center;
}

#yith-wccos-metabox .search-choice-close {
    z-index : 9998;
}

#yith-wccos-metabox div.wp-picker-holder {
    z-index  : 9999;
    position : absolute;
}

.column-yith-wccos-can-cancel,
.column-yith-wccos-can-pay,
.column-yith-wccos-is-paid,
.column-yith-wccos-downloads-permitted,
.column-yith-wccos-display-in-reports,
.column-yith-wccos-restore-stock,
.column-yith-wccos-show-in-actions,
.column-yith-wccos-send-email-to {
    text-align : center !important;
    width      : 30px;
}

.yith-wccos-icon-check.dashicons-yes,
.yith-wccos-icon-mail-info:not(.dashicons-no) {
    color : #00b8d9;
}

.wp-list-table .yith-wccos-can-cancel-head,
.wp-list-table .yith-wccos-can-pay-head,
.wp-list-table .yith-wccos-is-paid-head,
.wp-list-table .yith-wccos-downloads-permitted-head,
.wp-list-table .yith-wccos-display-in-reports-head,
.wp-list-table .yith-wccos-restore-stock-head,
.wp-list-table .yith-wccos-show-in-actions-head,
.wp-list-table .yith-wccos-send-email-to-head {
    display     : block;
    text-indent : -9999px;
    position    : relative;
    height      : 1em;
    width       : 1em;
    margin      : 0 auto;
    font-size   : 17px;
}

.wp-list-table .yith-wccos-can-cancel-head:after,
.wp-list-table .yith-wccos-can-pay-head:after,
.wp-list-table .yith-wccos-is-paid-head:after,
.wp-list-table .yith-wccos-downloads-permitted-head:after,
.wp-list-table .yith-wccos-display-in-reports-head:after,
.wp-list-table .yith-wccos-restore-stock-head:after,
.wp-list-table .yith-wccos-show-in-actions-head:after,
.wp-list-table .yith-wccos-send-email-to-head:after {
    font-weight            : 400;
    margin                 : 0;
    text-indent            : 0;
    position               : absolute;
    width                  : 100%;
    height                 : 100%;
    text-align             : center;
    line-height            : 1;
    font-family            : Dashicons;
    speak                  : none;
    font-variant           : normal;
    text-transform         : none;
    -webkit-font-smoothing : antialiased;
    top                    : 0;
    left                   : 0;
}

/*
.wp-list-table .yith-wccos-status-icon-head:after {
    content     : "\f14a";
    font-family : FontAwesome;
    color       : #00ad3c;
}
*/

.wp-list-table .yith-wccos-can-cancel-head:after {
    content : "\f153";
}

.wp-list-table .yith-wccos-can-pay-head:after {
    content     : "$";
    font-family : inherit !important;
    font-weight : 800;
}

.wp-list-table .yith-wccos-is-paid-head:after {
    content     : "\f09d";
    font-family : 'FontAwesome' !important;
}

.wp-list-table .yith-wccos-downloads-permitted-head:after {
    content : "\f316";
}

.wp-list-table .yith-wccos-display-in-reports-head:after {
    content : "\f239";
}

.wp-list-table .yith-wccos-restore-stock-head:after {
    content : "\f531";
}

.wp-list-table .yith-wccos-show-in-actions-head:after {
    content : "\f109";
}

.wp-list-table .yith-wccos-send-email-to-head:after {
    content : "\f465";
}

.post-type-yith-wccos-ostatus .widefat .column-order_status mark::after {
    content: "\f22d";
    color: #2470FF;
    font-family: FontAwesome !important;
    text-indent: 0px;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
}

/** WooCommerce 3.3 fix */
.post-type-yith-wccos-ostatus .widefat .column-order_status mark {
    display     : block;
    text-indent : -9999px;
    position    : relative;
    height      : 1em;
    width       : 1em;
    background  : 0 0;
    font-size   : 1.4em;
    margin      : 0 auto;
}

.post-type-yith-wccos-ostatus .widefat .column-order_status {
    width      : 100px;
    text-align : center;
}

/**
 * WPML
 */
#yith-wccos-wpml-translations .inside{
    padding: 0 ;
}

#yith-wccos-wpml-translations label{
    display: block;
    font-weight: 600;
    margin-bottom:3px;
}

#yith-wccos-wpml-translations input,
#yith-wccos-wpml-translations textarea {
    width : 100%;
}

.yith-wccos-wpml-translation{
    border-bottom: 1px solid #e5e5e5;
    padding: 10px;
}

.yith-wccos-wpml-translation:last-child{
    border-bottom: none;
}

.yith-wccos-wpml-translation__language {
    font-size   : 1.2em;
    font-weight : 600;
    margin-bottom:7px;
}

.yith-wccos-wpml-translation__single{
    padding:5px 0;
}

/*
 * NEW FW UPDATE
 */

#yith-wccos-metabox .yith-plugin-ui input[type="checkbox"]:checked {
    background-color: #A1C746;
    border-color: #A1C746;
}

table .type-yith-wccos-ostatus .row-actions > span.hide-if-no-js {
    display: none;
}
.yith-plugin-ui--yith-wccos-ostatus-post_type .page-title-action {
    display: none;
}
.yith-plugin-ui--yith-wccos-ostatus-post_type #yith-wccos-metabox {
    border: 0;
}
.yith-plugin-ui--yith-wccos-ostatus-post_type #yith-wccos-metabox .inside {
    padding: 0;
}
.yith-plugin-ui--yith-wccos-ostatus-post_type #yith-wccos-metabox .postbox-header {
    display: none;
}
.yith-plugin-ui--yith-wccos-ostatus-post_type #postbox-container-1 {
    display: none;
}
.yith-plugin-ui--yith-wccos-ostatus-post_type #yith-plugin-fw-float-save-button {
    display: none;
    align-items: center;
    position: fixed;
    bottom: 30px;
    right: 70px;
    z-index: 999;
    border-radius: 100px;
    box-shadow: 0 0 6px 3px rgba(0, 121, 159, 0.2);
}
.yith-plugin-ui--yith-wccos-ostatus-post_type #yith-plugin-fw-float-save-button.visible {
    display: flex;
}
.yith-plugin-ui--yith-wccos-ostatus-post_type span.description {
    font-style: normal;
}


/*
 * Metabox Options
 */
.post-type-yith-wccos-ostatus #post-body-content { display: none; }
.yith-plugin-ui--yith-wccos-ostatus-post_type #_general-options-title-container > div,
.yith-plugin-ui--yith-wccos-ostatus-post_type #_style-title-container > div,
.yith-plugin-ui--yith-wccos-ostatus-post_type #_user-permissions-container > div,
.yith-plugin-ui--yith-wccos-ostatus-post_type #_extra-title-container > div {
    display: none !important;
}
@media( max-width: 1400px ) {
    .yith-plugin-ui.metaboxes-tab .the-metabox {
        width: 100%;
    }
}
/* General options */
.yith-plugin-ui--yith-wccos-ostatus-post_type #_status_name-container {
    margin-top: -60px;
}
.yith-plugin-ui--yith-wccos-ostatus-post_type #_status_name-container > label,
.yith-plugin-ui--yith-wccos-ostatus-post_type #status_type-container > label,
.yith-plugin-ui--yith-wccos-ostatus-post_type #slug-container > label {
    margin: -10px 0 10px 0;
    display: block;
    float: none;
}
/* Style */
.yith-plugin-ui--yith-wccos-ostatus-post_type #color-container {
    margin-top: -60px;
}
.yith-plugin-ui--yith-wccos-ostatus-post_type #color-container > label,
.yith-plugin-ui--yith-wccos-ostatus-post_type #graphicstyle-container > label,
.yith-plugin-ui--yith-wccos-ostatus-post_type #icon-type-container > label,
.yith-plugin-ui--yith-wccos-ostatus-post_type #icon-icon-container > label {
    margin: -10px 0 10px 0;
    display: block;
    float: none;
}
/* User permissions */
.yith-plugin-ui--yith-wccos-ostatus-post_type #can-cancel-container {
    margin-top: -57px;
}
.yith-plugin-ui--yith-wccos-ostatus-post_type #can-pay-container,
.yith-plugin-ui--yith-wccos-ostatus-post_type #downloads-permitted-container {
    margin-top: -30px;
}
.yith-plugin-ui--yith-wccos-ostatus-post_type #can-pay-container label,
.yith-plugin-ui--yith-wccos-ostatus-post_type #can-cancel-container label,
.yith-plugin-ui--yith-wccos-ostatus-post_type #downloads-permitted-container label {
    color: #475569;
    line-height: 16px;
    margin: 0 0 0 25px;
    font-size: 13px;
    font-weight: normal;
    float: none;
    position: absolute;
}
.yith-plugin-ui--yith-wccos-ostatus-post_type #can-pay-container input,
.yith-plugin-ui--yith-wccos-ostatus-post_type #can-cancel-container input,
.yith-plugin-ui--yith-wccos-ostatus-post_type #downloads-permitted-container input {
    height: 16px;
    margin: 0;
    opacity: 1;
    z-index: 0;
    left: 0;
    display: block;
}
.yith-plugin-ui--yith-wccos-ostatus-post_type #can-pay-container .yith-plugin-fw-onoff-container,
.yith-plugin-ui--yith-wccos-ostatus-post_type #can-cancel-container .yith-plugin-fw-onoff-container,
.yith-plugin-ui--yith-wccos-ostatus-post_type #downloads-permitted-container .yith-plugin-fw-onoff-container {
    height: 16px;
}
.yith-plugin-ui--yith-wccos-ostatus-post_type #can-pay-container .yith-plugin-fw-onoff,
.yith-plugin-ui--yith-wccos-ostatus-post_type #can-cancel-container .yith-plugin-fw-onoff,
.yith-plugin-ui--yith-wccos-ostatus-post_type #downloads-permitted-container .yith-plugin-fw-onoff {
    display: none;
}

/* Extra */
.yith-plugin-ui--yith-wccos-ostatus-post_type #nextactions-container {
    margin-top: -60px;
}
.yith-plugin-ui--yith-wccos-ostatus-post_type #nextactions-container > label {
    margin: -10px 0 10px 0;
    display: block;
    float: none;
}
.yith-plugin-ui--yith-wccos-ostatus-post_type #is-paid-container > label,
.yith-plugin-ui--yith-wccos-ostatus-post_type #display-in-reports-container > label,
.yith-plugin-ui--yith-wccos-ostatus-post_type #restore-stock-container > label,
.yith-plugin-ui--yith-wccos-ostatus-post_type #show-in-actions-container > label,
.yith-plugin-ui--yith-wccos-ostatus-post_type #mail-settings-info-container > label {
    width: 300px;
    margin: 0;
    font-size: 13px;
    display: block;
    float: left;
}
.yith-plugin-ui--yith-wccos-ostatus-post_type #nextactions-container .yith-plugin-fw-onoff-container ,
.yith-plugin-ui--yith-wccos-ostatus-post_type #is-paid-container .yith-plugin-fw-onoff-container,
.yith-plugin-ui--yith-wccos-ostatus-post_type #display-in-reports-container .yith-plugin-fw-onoff-container,
.yith-plugin-ui--yith-wccos-ostatus-post_type #restore-stock-container .yith-plugin-fw-onoff-container,
.yith-plugin-ui--yith-wccos-ostatus-post_type #show-in-actions-container .yith-plugin-fw-onoff-container,
.yith-plugin-ui--yith-wccos-ostatus-post_type #mail-settings-info-container .yith-plugin-fw-onoff-container {
    margin-left: 200px;
}