/* For iPhone and Android */

/**== Header Navbar ==**/
.wos header nav.navbar-header {
  height: 40px;
}
.wos nav .navbar-collapse {
  position: relative;
  left: -1em;
}
.wos nav.header-breadcrumb ol li.breadcrumb-item {
  font-size: 0.6rem;
}
.wos nav.header-breadcrumb ol li.text-truncate {
  /* max-width: 2.7rem; */
}
.wos ul.navbar-nav li.nav-item button.custodyItems,
.wos ul.navbar-nav li.nav-item button.favorite,
.wos ul.navbar-nav li.nav-item button.frequentitems,
.wos ul.navbar-nav li.nav-item button.shopping-cart,
.wos div button.account-menu {
  width: 100vw;
  left: 0;
  padding-left: 0;
  padding-right: 0;
}

/* Dropdown account menu */
.wos .account-menu-item.dropdown-menu {
  width: calc(100vw - 1.5rem);
  padding-top: 0;
  margin-top: 0;
  left: 0.8rem;
  right: 0.8rem;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

/* Account Menu Btns */
.wos .btn-group-sm.mobile-account-menu {
  bottom: 4rem;
  left: 0.5rem;
  z-index: 1021; /*override z-index of other layout*/
}
.wos .btn-group-sm.mobile-account-menu.open-side-menu {
  bottom: 3rem;
  left: calc(100vw - 3rem);
}

/**== Sign in page ==**/
.wos .signin-logo {
  height: 8vh;
}

/**== Footer ==**/
.wos footer.text-small {
  font-size: 0.7rem;
}

/**== Side menu ==**/
.wos .side-menu-fragment {
  position: fixed;
  z-index: 2;
  top: 10.5rem;
  left: 0;
  width: calc(100vw - 3.5rem);
  margin-left: calc((100vw - 3.5rem) * -1);
  transition: ease all 0.3s;
}
.wos .side-menu-fragment.show {
  margin-left: 0;
  z-index: 1030;
}
.wos .side-menu-fragment .side-menu {
  position: relative;
  width: calc(100vw - 3.5rem);
}
.wos .side-menu-fragment button.mobile-side-menu {
  position: absolute;
  top: 0;
  left: calc(100vw - 3.5rem - 2px);
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  height: 7rem;
  width: 3rem;
}
.wos .side-menu-fragment.show button.mobile-side-menu {
  left: calc(100vw - 3.5rem - 2px);
}
.wos .side-menu-fragment .side-menu-body {
  max-height: calc(100vh - 30rem);
  overflow-y: auto;
}

/**== Terms of use page & Privacy Policy ==**/
.wos div.terms-of-use-header label.header-text,
.wos div.privacy-policy-header label.header-text {
  font-size: 0.8rem;
}
.wos .card-body.terms-of-use-card-body,
.wos .card-body.privacy-policy-card-body {
  padding-left: 8px;
  padding-right: 8px;
}

/**== Product / Information Main Content ==**/
.wos div.products-main-content {
  left: 0;
}

/**== Header Dialogs ==**/
.wos .modal.navbar-modal {
  height: 100vh !important;
}
.wos .modal-content.navbar-modal-content {
  /* height: calc(100vh - 8rem) !important; */
  height: 100% !important;
  max-height: 100% !important;
  margin-top: 4rem;
}
.wos .modal-content.navbar-modal-content.deposit-products-modal-content,
.wos .modal-content.navbar-modal-content.cart-modal-content,
.wos .modal-content.navbar-modal-content.favorite-modal-content {
  max-height: calc(100vh - 8rem) !important;
}

/**== Side cart ==**/
.wos .side-cart,
.wos button.open-close-btn {
  visibility: hidden;
}

/**== Search product==**/
.wos main.product-search-main-content {
  overflow-y: auto;
}

/** Order Entry */
.wos .entry table thead,
.wos .entry table tbody,
.wos .entry table tbody tr {
  table-layout: auto;
}
.wos .entry table thead {
  display: table-header-group;
}
.wos .entry table tbody {
  display: table-row-group;
  height: auto;
  overflow-x: auto;
  overflow-y: hidden;
}
.wos .entry table tbody tr {
  display: table-row;
}

.wos .entry table tbody td input {
  width: 87px !important;
}
.wos .entry table tbody td fieldset select {
  width: 130px !important;
}
.wos .entry .tbody .input-group.select::after {
  right: -1.5rem;
}

.wos .entry .addCartButtonContainer {
  text-align: center;
}

/**== Summary amount==**/
.wos .summation-order-amount {
  bottom: 3.083rem;
}

.wos .summary-container {
  position: fixed;
  z-index: 2;
  left: 0;
  width: 100%;
  margin-left: calc((100vw - 3.5rem) * -1);
  transition: ease all 0.3s;
}
.wos .summary-container.show {
  margin-left: 0;
  z-index: 1030;
}
.wos .summary-container-inner {
  position: relative;
  width: calc(100vw - 3.5rem);
  padding: 1rem;
}
.wos .summary-container button.mobile-summary {
  position: absolute;
  top: 0;
  left: calc(100vw - 3.5rem - 2px);
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  height: 7rem;
  width: 3rem;
}
.wos .summary-container.show button.mobile-summary {
  left: calc(100vw - 3.5rem - 2px);
}

/** Error page **/
.wos .error .mt-5 {
  margin-top: 1.7rem !important;
}
.wos .error .mb-5 {
  margin-bottom: 1.7rem !important;
}
.wos .error .ml-5 {
  margin-left: 1.5rem !important;
}
.wos .error .mr-5 {
  margin-right: 1.5rem !important;
}
.wos .error .img-fluid,
.wos .error .img-thumbnail {
  max-width: 75% !important;
  height: auto !important;
}
.wos .error .small {
  /* font-size: 80%; */
  font-size: 100%;
}

/* Customize the jQuery Toasts. */
.jq-toast-wrap {
  z-index: 10000 !important;
}

.wos .campaign-list {
  margin: 0 -5px;
}
.wos .campaign-item {
  width: calc(100% / 2);
  padding: 0 5px;
  margin: 5px 0;
}

.wos .productdetail-modal {
  overflow-y: auto;
}

.wos .modal-content.navbar-modal-content.productdetail-modal-content {
  width: 100% !important;
}

.wos .modal-body.navbar-modal-body {
  max-height: 100%;
}

/* spshowmodalスマホ表示 */

/* .pc_only {
  display: none !important;
}

.modal {
  display: initial !important;
} */

/* .modal .wos .text-gray {
  font-size: 20px !important;
} */

.wos .modal-body.navbar-modal-body.orderdetail-modal-body {
  max-height: calc(100vh - 37rem) !important;
  min-height: 226px !important;
}

.wos .campaign-content-body .row {
  margin-right: -10px;
  margin-left: -10px;
}
.wos .campaign-content-footer #cartBtn {
  width: 50% !important;
}

.sp_flex {
  padding-bottom: 0.5em;
  width: 100%;
  display: flex !important;
}
.bmd-form-group {
  padding-top: 0 !important;
}

.modal #orderScrollDetail {
  gap: 0.5em;
}

.modal .col {
  flex-basis: initial !important;
  /* flex-grow: initial !important; */
}
.modal .form-group {
  height: 100%;
  margin: 0 !important;
  width: 100%;
  text-align: center;
}

.modal .col-md-2 {
  padding-right: 5px !important;
  padding-left: 5px !important;
}

.modal .flex_width {
  text-align: center;
  width: 30%;
}

.modal .flex_width03 {
  width: 30%;
}

.modal .flex_width02 {
  width: 70%;
}

.modal .flex_width04 {
  width: 40%;
  margin: 0 !important;
}

.modal select {
  -webkit-appearance: auto !important;
}

.modal .bottom {
  padding-bottom: 2em;
}

.modal .option {
  padding-bottom: 1em;
  width: 100%;
  border-bottom: solid 1px #b4b0b0;
}

.modal .product-quantity {
  padding: 1px 0 1px;
}

#selectClasses select {
  width: 3rem;
}

.modal .ml-2,
.modal .mx-2 {
  width: 100% !important;
}

.modal .flex_width05 {
  width: 60%;
}
.modal .fixed_option {
  /* padding: 2em 15px 0; */
}

.modal .flex_width06 {
  width: 30%;
  padding-right: 15px;
}

.modal .bg_col {
  background-color: white !important;
}

.modal .flex_center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal .flex_width07 {
  width: 65%;
  padding: 0 10px 0 15px;
}
.modal .flex_width08 {
  width: 5%;
}

.wos .col-12-sp {
  padding-left: 15px;
  padding-right: 15px;
}

.wos .table .thead-light th[data-sort-key="order_no"] {
  padding-left: 24px;
  padding-right: 24px;
}
.wos .table .thead-light th[data-sort-key="order_no"]::after {
  right: 0;
}

.only-pc {
  display: none !important;
}
.only-sp {
  display: block !important;
}
