@charset "utf-8";

/* ダイアログ */
.dialog-btn {
    width: 100px;
    height: 28px;
    color:#2c2c2c;
    font-size:1.0em;
    /* font-weight: bold; */
    cursor: pointer;
    border: 1px solid #c5c5c5;
    transition: background 0.3s ease-in-out;
    -webkit-transition:background 0.3s;
      background: #d3d3d3;
      background: -webkit-linear-gradient(top, #d3d3d3 0%, #d3d3d3 100%);
    background: linear-gradient(to bottom, #d3d3d3 0%, #d3d3d3 100%);
    /* border: 1px solid #b9b9b9; */
    box-shadow: 5 0 5px #b9b9b9;
  }
  .dialog-btn:hover {
      /* background: #e7f4f9; */
      /* background: -webkit-linear-gradient(top, #e7f4f9 0%, #e7f4f9 100%); */
      /* background: linear-gradient(to bottom, #e7f4f9 0%, #e7f4f9 100%); */
      /* border: 1px solid #6fd2fd; */
    /* background: #a8e4ff; */
    opacity: 0.7;
  }
  .dialog-btn:active {
      /* background: #beebff; */
      /* background: -webkit-linear-gradient(top, #beebff 0%, #9ce1ff 100%); */
      /* background: linear-gradient(to bottom, #beebff 0%, #9ce1ff 100%); */
      /* border: 1px solid #6fd2fd; */
    /* background: #a8e4ff; */
    opacity: 0.9;
  }
  .dialog-btn:disabled {
      background: #f1f1f1;
      background: -webkit-linear-gradient(top, #f1f1f1 0%, #e6e6e6 100%);
      background: linear-gradient(to bottom, #f1f1f1 0%, #e6e6e6 100%);
      border: 1px solid #c5c5c5;
    color:#969696;
    cursor: default !important;
  }
  /*   id前方一致   */
  div[id^="dialog-back-div"] {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(200, 200, 200, 0.0);
    top: 0;
    margin: 0 auto;
  }

  #dialog-div {
    display: block;
    position: absolute;
    background: #ffffff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #5c5c5c;
    box-shadow: 0 0 10px rgb(139, 139, 139);
    overflow: hidden;
  }
  #dialog-div #title {
    background: #72cbff;
    color: #2e2e2e;
    height: 35px;
    line-height: 35px;
    padding-left: 10px;
  }
  #dialog-div #msg {
    padding: 10px;
  }
  #dialog-div #detail {
    position: relative;
    background: #ffffff;
    width: calc(100% - 20px);
    height: calc(100% - 97px);
    padding: 10px;
  }
  #dialog-div #ctl {
    display: inline-block;
    position: absolute;
    background: #fafafa;
    border-top: solid 1px #dbdbdb;
    width: 100%;
    height: 40px;
    bottom: 0;
    line-height: 40px;
    /* padding-top:8px; */
  }
  #dialog-div #dialog-close {
    position: absolute;
    right: 10px;
    top: 5px;
    cursor: pointer;
  }

  #dialog-div div[id^="icon"] {
    display: inline-block;
    position: relative;
    width: 25px;
    height: 25px;
    vertical-align: middle;
    margin-right: 10px;
  }

  #dialog-div div[id^="icon"]::before {
    position: absolute;
    content: "";
    background-position: center;
    background-size: 24px 24px;
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    top: 0;
    left: 0;
  }

  #dialog-div #icon_info::before {
    background-image: url("../../../common/images/info.png");
  }
  #dialog-div #icon_err::before {
    background-image: url("../../../common/images/error.png");
  }
  #dialog-div #icon_question::before {
    background-image: url("../../../common/images/question.png");
  }
  #dialog-div #icon_caution::before {
    background-image: url("../../../common/images/caution.png");
  }

  #dialog-div .seikyu_div {
    overflow:scroll;
    width:100%;
    height:410px;
  }

  #dialog-div .seikyu_table {
    margin: 0;
    border-spacing: 0;
  }
  #dialog-div .seikyu_table th {
    white-space: nowrap;
    border-right: 1px solid #d3d3d3;
    border-bottom: 1px solid #d3d3d3;
    background: #3399ff;
    color: #ffffff;
    font-weight: normal;
    text-align: center;
    position: sticky;
    top: 0;
    left: 0;
    height:35px;
  }
  #dialog-div .seikyu_table.agent th {
    background: #ff552d;
  }

  #dialog-div .seikyu_table td {
    white-space: nowrap;
    border-right: 1px solid #d3d3d3;
    border-bottom: 1px solid #d3d3d3;
    background: #FFF;
    /* padding: 5px; */
    text-align: center;
  }
  #dialog-div .seikyu_table tr:first-child th {
    border-top: 1px solid #d3d3d3;
  }
  #dialog-div .seikyu_table th:first-child,
  #dialog-div .seikyu_table td:first-child {
    border-left: 1px solid #d3d3d3;
  }
  #dialog-div .seikyu_table tr:first-child th:first-child{
    /* z-index: 1; */
  }
  #dialog-div .seikyu_table td.head {
    background: #eeeeee;
  }

  #dialog-div .chosei_div {
    overflow:scroll;
    width:100%;
    height:400px;
  }

  #dialog-div .chosei_table {
    margin: 0;
    border-spacing: 0;
  }
  #dialog-div .chosei_table th {
    white-space: nowrap;
    border-right: 1px solid #d3d3d3;
    border-bottom: 1px solid #d3d3d3;
    background: #3399ff;
    color: #ffffff;
    font-weight: normal;
    text-align: center;
    position: sticky;
    top: 0;
    left: 0;
    height:35px;
  }
  #dialog-div .chosei_table.agent th {
    background: #ff552d;
  }

  #dialog-div .chosei_table td {
    white-space: nowrap;
    border-right: 1px solid #d3d3d3;
    border-bottom: 1px solid #d3d3d3;
    background: #FFF;
    /* padding: 5px; */
    text-align: center;
  }
  #dialog-div .chosei_table tr:first-child th {
    border-top: 1px solid #d3d3d3;
  }
  #dialog-div .chosei_table th:first-child,
  #dialog-div .chosei_table td:first-child {
    border-left: 1px solid #d3d3d3;
  }
  #dialog-div .chosei_table tr:first-child th:first-child{
    /* z-index: 1; */
  }
  #dialog-div .chosei_table td.head {
    background: #eeeeee;
  }
  
  #dialog-div #coupon_sansyo_scroll_div {
    overflow:scroll;
    width:100%;
    height:400px;
  }
  #dialog-div #coupon_edit_scroll_div {
    overflow:scroll;
    width:100%;
    height:300px;
  }
  #dialog-div #coupon_sansyo_tbl,
  #dialog-div #coupon_edit_tbl {
    margin: 0;
    border-spacing: 0;
  }
  #dialog-div #coupon_sansyo_tbl th,
  #dialog-div #coupon_edit_tbl th {
    white-space: nowrap;
    border-right: 1px solid #707070;
    border-bottom: 1px solid #707070;
    background: #f2f2f2;
    text-align: center;
    position: sticky;
    top: 0;
    left: 0;
    height:35px;
  }
  #dialog-div #coupon_sansyo_tbl tr:hover td,
  #dialog-div #coupon_edit_tbl tr:hover td {
    background: #d6ebff;
  }
  #dialog-div #coupon_sansyo_tbl td,
  #dialog-div #coupon_edit_tbl td {
    white-space: nowrap;
    border-right: 1px solid #707070;
    border-bottom: 1px solid #707070;
    background: #FFF;
    /* padding: 5px; */
    text-align: center;
  }
  #dialog-div #coupon_sansyo_tbl tr:first-child th,
  #dialog-div #coupon_edit_tbl tr:first-child th {
    border-top: 1px solid #707070;
  }
  #dialog-div #coupon_sansyo_tbl th:first-child,
  #dialog-div #coupon_sansyo_tbl td:first-child,
  #dialog-div #coupon_edit_tbl th:first-child,
  #dialog-div #coupon_edit_tbl td:first-child {
    border-left: 1px solid #707070;
  }
  #dialog-div #coupon_sansyo_tbl td.head,
  #dialog-div #coupon_edit_tbl td.head {
    background: #eeeeee;
  }