.form-side-rh{margin-bottom:15px; margin-top:15px}
.form-side-rh-title{font-weight:bold; margin-bottom:10px}
.form-side-rh select{width:-webkit-fill-available;}
.rehub-meta_factory-metabox .form-side-rh input[type=checkbox], .rehub-meta_factory-metabox .form-side-rh input[type=radio]{margin-bottom:6px}
.rehub-meta_factory-metabox .rehub-repeat-group-wrap {
    position: relative;
    margin: 0;
    padding: 15px 12px;
    border: #EEEEEE solid 1px;
}

.rehub-meta_factory-metabox .rehub-group-label {
    vertical-align: top;
    margin: 0 0 10px;
}

.rehub-meta_factory-metabox .rehub-group-label label {
    display: block;
    font-weight: bold;
    margin: 0 0 12px;
    padding: 0;
    font-size:110%;
}

.rehub-meta_factory-metabox .rehub-repeat-group-wrap .rehub-repeatable-grouping {
    border: #DFDFDF solid 1px;
    background: #fff;
    border-spacing: 0;
    border-radius: 0;
    table-layout: auto;
    padding: 0;
    margin: 0;
    width: 100%;
    clear: both;
    box-sizing: content-box;
    margin-bottom: 20px;
}

.rehub-meta_factory-metabox  .form-table tr:first-child{
    border:none;
}

.rehub-meta_factory-metabox .rehub-repeat-group-wrap .form-table td, .rehub-meta_factory-metabox .rehub-repeat-group-wrap .form-table th{padding:12px;}

.rehub-meta_factory-metabox .rehub-group-handle {
    color: #757575;
    float: right;
    width: 27px;
    height: 30px;
    cursor: pointer;
    right: 0;
    position: relative
}

.rehub-meta_factory-metabox .rehub-group-handle:before {
    content: '\f142';
    right: 12px;
    font: normal 20px/1 dashicons;
    display: inline-block;
    padding: 8px 10px;
    top: 0;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-decoration: none!important
}

.rehub-meta_factory-metabox .postbox.closed .rehub-group-handle:before {
    content: '\f140'
}

.wc-metaboxes .postbox{border:none}

.rehub-meta_factory-metabox .rh-meta-divider{margin-bottom:5px;}

.rehub-meta_factory-metabox button.dashicons-before.dashicons-no-alt.rehub-remove-group-row {
    -webkit-appearance: none!important;
    background: 0 0!important;
    border: none!important;
    position: absolute;
    left: 0;
    top: .5em;
    line-height: 1em;
    padding: 2px 6px 3px;
    opacity: .5
}

.rehub-meta_factory-metabox button.dashicons-before.dashicons-no-alt.rehub-remove-group-row:not([disabled]) {
    cursor: pointer;
    color: #a00;
    opacity: 1
}

.rehub-meta_factory-metabox button.dashicons-before.dashicons-no-alt.rehub-remove-group-row:not([disabled]):hover {
    color: red
}

.rehub-meta_factory-metabox .rehub-group-title {
    background-color: #e9e9e9;
    padding: 8px 12px 8px 2.2em;
    min-height: 1.5em;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

#poststuff .rehub-group-title {
    padding-left: 2.2em;
}

.rehub-meta_factory-metabox .select2 {
    width: 468px !important;
}

.rehub-meta_factory-metabox .rh_metabox_range_val{display:inline-block; margin: 0 5px;}
#rh_product_video{margin-top: 10px;}
#rh_product_video, #rh_td_model, #rh_td_model_usdz, #rh_post_image_videos{width:100%;}

.rehub-meta_factory-metabox input[type=text], .rehub-meta_factory-metabox input[type=url]{
    border:none;
    transition: background 0.4s, border-color 0.3s, box-shadow 0.2s;
    border-bottom: 1px solid #d6d6d6;
    border-radius: 0;
    max-width:100%
}

.rehub-meta_factory-metabox input[type=text]:focus, .rehub-meta_factory-metabox input[type=url]:focus{
    border:none;
    border-bottom: 1px solid #275EFE;
    box-shadow:none;
    border-radius: 0;
    background:#f7f7f7;
}
.rehub-meta_factory-metabox textarea:focus{
    box-shadow:none;
    border-color: #275EFE;
    background:#f7f7f7;
}

.rehub-meta_factory-metabox textarea{
    border: 1px solid #d6d6d6;
    transition: background 0.4s, border-color 0.3s, box-shadow 0.2s;
    padding:10px;
    max-width:700px;
}

@media screen and (max-width: 782px){
    .rehub-meta_factory-metabox input[type=text], .rehub-meta_factory-metabox input[type=url]{width:100%;}
    .rehub-meta_factory-metabox .meta_box_upload_image_button, .rehub-meta_factory-metabox .meta_box_clear_image_button{margin-top:15px;}

}

#rehub_offer_discount{max-width:65px;}

.rh_metabox_icon{width:20px; margin:10px; vertical-align:middle;}

@supports (-webkit-appearance: none) or (-moz-appearance: none) {
  .rehub-meta_factory-metabox input[type=checkbox], .rehub-meta_factory-metabox input[type=radio] {
    --active: #275EFE;
    --active-inner: #fff;
    --border: #BBC1E1;
    --border-hover: #275EFE;
    --background: #fff;
    --disabled: #F6F8FF;
    --disabled-inner: #E1E6F9;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 21px;
    outline: none;
    display: inline-block;
    vertical-align: top;
    position: relative;
    margin: 0;
    cursor: pointer;
    border: 1px solid var(--bc, var(--border)) !important;
    background: var(--b, var(--background)) !important;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
    box-shadow:none;
  }
  .rehub-meta_factory-metabox input[type=checkbox]:before, .rehub-meta_factory-metabox input[type=radio]:before{display:none;}
  .rehub-meta_factory-metabox input[type=checkbox]:after, .rehub-meta_factory-metabox input[type=radio]:after {
    content: "";
    display: block;
    left: 0;
    top: 0;
    position: absolute;
    transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
  }
  .rehub-meta_factory-metabox input[type=checkbox]:checked, .rehub-meta_factory-metabox input[type=radio]:checked {
    --b: var(--active);
    --bc: var(--active);
    --d-o: .3s;
    --d-t: .6s;
    --d-t-e: cubic-bezier(.2, .85, .32, 1.2);
  }
  .rehub-meta_factory-metabox input[type=checkbox]:disabled, .rehub-meta_factory-metabox input[type=radio]:disabled {
    --b: var(--disabled);
    cursor: not-allowed;
    opacity: 0.9;
  }
  .rehub-meta_factory-metabox input[type=checkbox]:disabled:checked, .rehub-meta_factory-metabox input[type=radio]:disabled:checked {
    --b: var(--disabled-inner);
    --bc: var(--border);
  }
  .rehub-meta_factory-metabox input[type=checkbox]:disabled + label, .rehub-meta_factory-metabox input[type=radio]:disabled + label {
    cursor: not-allowed;
  }
  .rehub-meta_factory-metabox input[type=checkbox]:hover:not(:checked):not(:disabled), .rehub-meta_factory-metabox input[type=radio]:hover:not(:checked):not(:disabled) {
    --bc: var(--border-hover);
  }
  .rehub-meta_factory-metabox input[type=checkbox]:not(.switch), .rehub-meta_factory-metabox input[type=radio]:not(.switch) {
    width: 21px;
  }
  .rehub-meta_factory-metabox input[type=checkbox]:not(.switch):after, .rehub-meta_factory-metabox input[type=radio]:not(.switch):after {
    opacity: var(--o, 0);
  }
  .rehub-meta_factory-metabox input[type=checkbox]:not(.switch):checked, .rehub-meta_factory-metabox input[type=radio]:not(.switch):checked {
    --o: 1;
  }
  .rehub-meta_factory-metabox input[type=checkbox] + label, .rehub-meta_factory-metabox input[type=radio] + label {
    font-size: 14px;
    line-height: 21px;
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
    margin-left: 6px; margin-right:6px
  }

  .rehub-meta_factory-metabox input[type=checkbox]:not(.switch) {
    border-radius: 7px;
  }
  .rehub-meta_factory-metabox input[type=checkbox]:not(.switch):after {
    width: 5px;
    height: 9px;
    border: 2px solid var(--active-inner);
    border-top: 0;
    border-left: 0;
    left: 7px;
    top: 4px;
    transform: rotate(var(--r, 20deg));
  }
  .rehub-meta_factory-metabox input[type=checkbox]:not(.switch):checked {
    --r: 43deg;
  }
  .rehub-meta_factory-metabox input[type=checkbox].switch {
    width: 38px;
    border-radius: 11px;
  }
  .rehub-meta_factory-metabox input[type=checkbox].switch:after {
    left: 2px;
    top: 2px;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    background: var(--ab, var(--border));
    transform: translateX(var(--x, 0));
  }
  .rehub-meta_factory-metabox input[type=checkbox].switch:checked {
    --ab: var(--active-inner);
    --x: 17px;
  }
  .rehub-meta_factory-metabox input[type=checkbox].switch:disabled:not(:checked):after {
    opacity: 0.6;
  }

  .rehub-meta_factory-metabox input[type=radio] {
    border-radius: 50%;
  }
  .rehub-meta_factory-metabox input[type=radio]:after {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: var(--active-inner);
    opacity: 0;
    transform: scale(var(--s, 0.7));
  }
  .rehub-meta_factory-metabox input[type=radio]:checked {
    --s: .5;
  }
  .rehub-meta_factory-metabox .description{display:block !important; margin-top:5px; font-size:13px;max-width:515px; margin-top:5px; color:grey;}
}
#rehub-post-images .inside{margin:0;padding:0}
#rehub-post-images .inside .rh_add_post_images{padding:12px}
#rehub-post-images .inside #rh_post_images_container{padding:0 0 0 9px}
#rh-wc-product-video #rh_post_images_container{padding:0 !important}
#rh-wc-product-video > .inside{padding-left:12px !important; padding-right: 12px !important;}
#rehub-post-images .inside #rh_post_images_container ul{margin:0;padding:0}
#rehub-post-images .inside #rh_post_images_container ul:after, 
#rehub-post-images .inside #rh_post_images_container ul:before{content:" ";display:table}
#rehub-post-images .inside #rh_post_images_container ul:after{clear:both}
#rehub-post-images .inside #rh_post_images_container ul li.add, 
#rehub-post-images .inside #rh_post_images_container ul li.image,
#rehub-post-images .inside #rh_post_images_container ul li.rh-metabox-sortable-placeholder{width:75px;float:left;cursor:move;border:1px solid #d5d5d5;margin:9px 9px 0 0;background:#f7f7f7;border-radius:2px;position:relative;box-sizing:border-box}
#rehub-post-images .inside #rh_post_images_container ul li.add img, 
#rehub-post-images .inside #rh_post_images_container ul li.image img, 
#rehub-post-images .inside #rh_post_images_container ul li.rh-metabox-sortable-placeholder img{width:100%;height:auto;display:block}
#rehub-post-images .inside #rh_post_images_container ul li.rh-metabox-sortable-placeholder{border:3px dashed #ddd;position:relative}
#rehub-post-images .inside #rh_post_images_container ul li.rh-metabox-sortable-placeholder:after{font-family:Dashicons;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";font-size:2.618em;line-height:72px;color:#ddd}
#rehub-post-images .inside #rh_post_images_container ul ul.actions{position:absolute;top:-8px;right:-8px;padding:2px;display:none}
#rehub-post-images .inside #rh_post_images_container ul ul.actions li{float:right;margin:0 0 0 2px}
#rehub-post-images .inside #rh_post_images_container ul ul.actions li a{width:1em;margin:0;height:0;display:block;overflow:hidden}
#rehub-post-images .inside #rh_post_images_container ul ul.actions li a.tips{cursor:pointer}
#rehub-post-images .inside #rh_post_images_container ul ul.actions li a.delete{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;font-size:1.4em}
#rehub-post-images .inside #rh_post_images_container ul ul.actions li a.delete:before{font-family:Dashicons;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";color:#999}
#rehub-post-images .inside #rh_post_images_container ul ul.actions li a.delete:hover:before{color:#a00}
#rehub-post-images .inside #rh_post_images_container ul li:hover ul.actions{display:block}
.rh-metabox-sortable-placeholder{border-color:#bbb;background-color:#f5f5f5;margin-bottom:9px;border-width:1px;border-style:dashed}
#rh_post_image_videos, #product_video_container textarea{width: 100%;}