/* requests */
.request-item:not(.request-store) {
  display: flex;
  font-size: 14px;
  background-color: #fff;
  padding: 8px;
  border: 0px solid;
  margin-bottom: 16px;
  align-items: stretch;
  /* flex-basis: auto; */
  flex: 1;
}
.request-item:after,
.request-item > div:after {
  content: "";
  display: table;
  clear: both;
}
.request-item div {
  padding: 0; /* background: #fcc; */ /* border: 1px solid red; */
}
.request-item:not(.request-store) > div {
  margin-right: 12px;
  padding-left: 12px;
}
.request-item:not(.request-store) > div:not(:first-child) {
  border-left: 2px solid #eee;
  margin-right: 0;
  /* overflow-x: hidden; */
  /* overflow-y: hidden; */
  /* max-width: 83.33333333%; */
  overflow: hidden;
}
.request-item > div > div {
  padding: 2px;
}

.request-item div.buttons,
.request-item div.buttons-rt,
.request-item div.buttons-rd {
  float: right;
  text-align: right;
  z-index: 999;
}
.request-item div.labels .btn,
.request-item div.buttons .btn,
.request-item div.buttons-rt .btn,
.request-item div.buttons-rd .btn {
  /*min-width: 18.5em;*/
  min-width: 6em;
  padding: 4px 20px;
}
.request-item div.buttons {
  position: absolute;
  /*right: 3.5em;
    right: 0;*/
  /* top: 9em; */
}

.request-item div.datetime {
  color: #122949;
  font-size: 16px;
  line-height: 1.2;
}
.request-item div.datetime span.year {
  display: block;
}
.request-item div.datetime span.date {
  display: block;
  white-space: nowrap;
  font-size: 24px;
  font-weight: bold;
}
.request-item div.datetime span.time,
.request-item div.datetime span.stay {
  display: inline-block;
  width: 47%;
  white-space: nowrap;
}
.request-item div.datetime span.stay {
  text-align: right;
}

.request-item div.deadline h5 {
  margin: 0;
}

.request-item div.sj {
  font-weight: bold;
  white-space: nowrap;
}

.request-item div.contact {
  position: absolute;
  bottom: 0;
}

.request-item div.groupname,
.request-item div.country {
  display: inline-block;
  float: left;
}
.request-item div.groupname {
  font-size: 24px;
  font-weight: bold;
  max-width: 74%;
  /* max-width: calc(75% - 1em); */
  line-height: 1;
}
.request-item div.country {
  font-size: 16px;
  color: #666;
  max-width: 24%;
  padding-left: 2%;
}

.request-item div.storename,
.request-item div.storeaddr,
.request-item div.pref,
.request-item div.areaname {
  display: inline-block;
  float: left;
  font-size: 16px;
}
/*.request-item div.pref,*/
.request-item div.storename {
  font-size: 24px;
  font-weight: bold;
  max-width: 49%;
  line-height: 1;
}
.request-item div.areaname,
.request-item div.storeaddr {
  max-width: 49%;
  padding-left: 2%;
}
.request-item div.storeaddr {
  /*font-size: 16px;*/
  color: #666;
}

.request-item table.table.table-inline {
  width: auto;
  border: 1px solid #e0e0e0;
}
.request-item table.table.table-inline th,
.request-item table.table.table-inline td {
  margin: 0;
  padding: 1px 8px;
}
.request-item table.table.table-inline th {
  background-color: #e0e0e0;
  color: #000;
  font-weight: normal;
}
.request-item table.table.table-inline td.unitprice,
.request-item table.table.table-inline td.persons span.persons:first-child {
  font-size: 16px;
  font-weight: bold;
}
.request-item:not(.request-item-detail)
  table.table.table-inline
  td.persons
  span.persons:not(:first-child) {
  margin-left: 4px;
}

.request-item div.labels {
  text-align: justify;
  /* margin: -3px auto; */
}
.request-item div.labels > div:not(.btn-group) {
  display: inline-block;
  border: 2px solid black;
  text-align: center;
  color: #000033;
  height: 2em;
  padding: 3px 12px 4px;
  font-weight: 600;
  letter-spacing: 0.05em;
  min-width: 15%;
}
.request-item div.labels > div.bg {
  background-color: #000033;
  color: #fff;
}
.request-item div.labels > div.chat {
  border: 2px solid #77bf39;
  color: #77bf39;
}
.request-item div.labels > div.chat.bg {
  background-color: #77bf39;
  color: #fff;
}
.request-item div.labels .repeat {
  /* min-width: 30%; */
}
.request-item div.labels .badge {
  background: transparent;
  color: red;
  padding-top: 0;
  position: relative;
  bottom: -2px;
}
.request-item div.labels > .bg .badge {
  color: #fff;
}
.request-item div.labels .badge.new {
  background: red;
  color: #fff;
  bottom: 1.5px;
  left: 2px;
  /* margin-left: 11px; */
  padding-top: 4px;
  /*position: absolute;*/
}

.request-item div.labels div.btn-group,
.request-item div.labels .btn {
  float: right;
}
.request-item div.labels div.btn-group .dropdown-menu {
  left: -3em;
}

.request-item-detail.request-store {
  display: block;
}
.request-item-detail.request-store p {
  margin: 0;
}
.modal-request-completion div.buttons,
.request-item-detail div.buttons {
  right: 1.2em;
}
.request-item-detail h4 {
  font-size: 16px;
}
.request-item-detail dl {
}
.request-item-detail dt {
  font-size: 16px;
  margin: 16px 0 4px;
  padding: 1px 0;
}
.request-item-detail dd {
  padding: 1px 0;
  margin-bottom: 8px;
}

.request-item-detail table.table.table-inline th,
.request-item-detail table.table.table-inline td {
  vertical-align: middle;
}
.request-item-detail table.table.table-inline th.unitprice,
.request-item-detail table.table.table-inline td.unitprice,
.request-item-detail table.table.table-inline th.persons,
.request-item-detail
  table.table.table-inline
  td.persons
  span.persons:first-child {
  font-size: 16px;
}
.request-item-detail table.table.table-inline td.unitprice,
.request-item-detail
  table.table.table-inline
  td.persons
  span.persons:first-child {
  font-weight: bold;
}
.request-item-detail table.table.table-inline th.persons {
  /* vertical-align: top; */
}
.request-item-detail table.table.table-inline td.persons span.persons {
  display: block;
  /*float: left;*/
}

.request-item-detail div.storename {
  max-width: 100%;
}

/*20170125 修正*/
/*.request-item-detail dl div.col-sm-6:first-of-type {
    border-right: 1px solid;
}
.request-item-detail dl div.col-sm-6:last-of-type {
    border-left: 1px solid;
    padding-left: 32px;
}*/

span.price {
  font-size: 24px;
  font-weight: bold;
}

.enquete div.form-group {
  margin: 12px auto;
}

/**
#modalRequestDetail .modal-header,
#modalRequestCompletion .modal-header { text-align: left; }
#modalRequestDetail .request-store .buttons button,
#modalRequestCompleteDetail .request-store .buttons button {
    display: block;
    margin-bottom: 2em;
}

/**/
div.notice {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #122949;
}
.modal-request-completion .control-label.al {
  text-align: left;
}
.modal-request-completion .additional:first-of-type .input-group-addon {
  background: inherit;
  border: none;
}
input[readonly] + .input-group-addon {
  background: #eee;
}

.additional {
  float: left;
  transition: 0.3s;
  width: 90%;
  margin: 12px auto 12px 5%;
  padding: 0px 16px 8px !important;
}
.hasadditional .additional {
  background-color: #eee;
}
.additional.disabled {
  /* opacity: 0.5; */
  transition: 0.3s;
  display: none;
}

.hasadditional label {
  margin-top: 20px;
}
.additional .request-fellows > div {
  margin-bottom: 8px;
}

li.star5 {
  /* text-align: center; */
  margin: 4px auto 8px;
}
li.star5 input[type="radio"] {
  display: none;
}
li.star5 label {
  margin: 0 8px;
  transition: 0.2s;
  padding: 7px 0 0;
}
li.star5 label:hover {
  cursor: pointer;
  transform: scale(1.5);
}
li.star5 i {
  color: #e2881b;
  transition: 0.5s;
}

/*
 *
 * 07/06/05 井福追加
 *
 */
.emergency {
  font-size: 13px;
  background-color: red;
  color: white;
  text-align: center;
}
