@charset "utf-8";
$font-family: Dashicons;

#order_data{
  .order_data_column{
    ._billing_yomigana_last_name_field, ._shipping_yomigana_last_name_field, ._billing_state_field, ._shipping_state_field, ._billing_last_name_field, ._shipping_last_name_field{
      float: left;
      clear: none;
    }
    ._billing_yomigana_first_name_field, ._shipping_yomigana_first_name_field, ._billing_city_field, ._shipping_city_field, ._billing_first_name_field, ._shipping_first_name_field{
      float: right;
      clear: none;
    }
    ._billing_postcode_field, ._shipping_postcode_field{
      margin-bottom: 7px;
    }
  }
}
.jp4wc-settings {
  margin-right: 300px;
  form {
    float: left;
    min-width: 100%;
    width: auto;
  }
}
.jp4wc-sidebar {
  float: right;
  width: 280px;
  margin: 20px -300px 20px 20px;
  position: relative;
  /*    background: #fff;*/
  .jp4wc-credits {
    background: #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
  }
  h3 {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
  }
  .inner {
    padding-left: 10px;
    padding-right: 10px;
  }
  .wc4jp-link{
    padding-left: 25px;
    padding-bottom: 10px;
    a img{
      width: 150px;
    }
  }
}
.metabox-holder h3.hndle {
  font-size: 14px;
  padding: 8px 12px;
  margin: 0;
  line-height: 1.4;
}
img.jp4wc-logo{
  width: 140px;
}
p.jp4wc-link{
  padding-bottom: 10px;
}
#delivery_time_zone{
  td{
    text-align: center;
    &.sort{
      cursor: move;
      font-size: 15px;
      background: #f9f9f9;
      text-align: center;
      vertical-align: middle;
    }
    &.sort:before {
      content: "\f333";
      font-family: $font-family;
      text-align: center;
      line-height: 1;
      color: #999;
      display: block;
      width: 17px;
      float: left;
      height: 100%;
    }
  }
  th{
    text-align: center;
  }
}
/* Larger sizes */
@media only screen and (min-width: 959px) {
  .jp4wc-sidebar { position: absolute; right: 0; margin: 0 35px; }
}

.form-table th {
  padding-left: 20px;
}

/* Dashboard Template */
#dashboard-widgets .jp4wc-metabox-sub-title,
.jp4wc-metabox-sub-title {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid #e5e5e5;
  margin-top: 1em;
  padding-bottom: 0.3em;
  .dashicons {
    position: relative;
    top: -2px;
    margin-left: 3px;
  }
}
.jp4wc-metabox-more-link {
  float: right;
  font-size: 12px;
}
.jp4wc-metabox-post-list {
  margin-bottom: 2em;
  li {
    border-bottom: 1px dotted #ccc;
    padding-bottom: 3px;
    display: flex;
    .date {
      font-size: 11px;
      margin-right: 1em;
      width: 75px;
      white-space: nowrap;
    }
    a {
      width: 100%;
    }
  }
}

.jp4wc-admin-banner {
  display: block;
  overflow: hidden;
  a.admin_banner {
    display: block;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 1);
    img {
      max-width: 100%;
      height: auto;
      display: block;
      &:hover {
        opacity: 0.7;
      }
    }
  }
  .jp4wc_logo {
    margin-top: 1em;
    img {
      width: 150px;
      float: right;
    }
  }
}
