/* button */

.button {
  cursor: pointer;
  display: block;
  min-height: 1em;
  width: 100%;
  outline: 0;
  border: none;
  background: #e0e1e2 none;
  color: rgba(0, 0, 0, 0.6);
  font-family: Lato, "Helvetica Neue", Arial, Helvetica, sans-serif;
  margin: 0 0.25em 0 0;
  padding: 0.78571429em 1.5em 0.78571429em;
  text-transform: none;
  text-shadow: none;
  font-weight: 700;
  line-height: 1em;
  font-style: normal;
  text-align: center;
  text-decoration: none;
  border-radius: 0.28571429rem;
  -webkit-box-shadow: 0 0 0 1px transparent inset,
    0 0 0 0 rgba(34, 36, 38, 0.15) inset;
  box-shadow: 0 0 0 1px transparent inset, 0 0 0 0 rgba(34, 36, 38, 0.15) inset;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: opacity 0.1s ease, background-color 0.1s ease,
    color 0.1s ease, background 0.1s ease, -webkit-box-shadow 0.1s ease;
  transition: opacity 0.1s ease, background-color 0.1s ease, color 0.1s ease,
    background 0.1s ease, -webkit-box-shadow 0.1s ease;
  transition: opacity 0.1s ease, background-color 0.1s ease, color 0.1s ease,
    box-shadow 0.1s ease, background 0.1s ease;
  transition: opacity 0.1s ease, background-color 0.1s ease, color 0.1s ease,
    box-shadow 0.1s ease, background 0.1s ease, -webkit-box-shadow 0.1s ease;
  will-change: "";
  -webkit-tap-highlight-color: transparent;
}

.button:hover {
  background-color: #aaa;
  text-shadow: none;
}

.primary.button {
  background-color: dodgerBlue;
  color: #fff;
  text-shadow: none;
  background-image: none;
}
.primary.button:hover {
  background-color: #1678c2;
  color: #fff;
  text-shadow: none;
}

.action-container {
  display: flex;
  margin: 7px 0;
  width: 50%;
}

.action-container .button {
  width: 50%;
}

/* input box with icon */

.inputWithIcon input[type="text"],
.inputWithIcon input[type="password"] {
  width: 100%;
  border: 2px solid #aaa;
  border-radius: 4px;
  margin: 0 0 1em;
  outline: none;
  padding: 8px;
  box-sizing: border-box;
  transition: 0.3s;
}

.inputWithIcon input[type="password"]:focus,
.inputWithIcon input[type="text"]:focus {
  border-color: dodgerBlue;
  box-shadow: 0 0 8px 0 dodgerBlue;
}

.inputWithIcon input[type="password"],
.inputWithIcon input[type="text"] {
  padding-left: 40px;
}

.inputWithIcon {
  position: relative;
}

.inputWithIcon i {
  position: absolute;
  left: 0px;
  top: 2px;
  padding: 9px 13px;
  color: #aaa;
  transition: 0.3s;
}

.inputWithIcon input[type="password"]:focus + i,
.inputWithIcon input[type="text"]:focus + i {
  color: dodgerBlue;
}

.inputWithIcon.inputIconBg i {
  background-color: #aaa;
  color: #fff;
  padding: 9px 13px;
  border-radius: 4px 0 0 4px;
}

.inputWithIcon.inputIconBg input[type="password"]:focus + i,
.inputWithIcon.inputIconBg input[type="text"]:focus + i {
  color: #fff;
  background-color: dodgerBlue;
}

.breadcrumb {
  margin: 12px 0;
  margin-left: 22px;
}

.breadcrumb-separator {
  margin: 0 8px;
}

.breadcrumb a {
  color: rgba(0, 0, 0, 0.45);
  text-decoration: none;
}

.pagging-container {
  display: block;
}

.pagging-container ul {
  list-style: none;
  display: inline;
  padding: 0;
}

.pagging-container ul li {
  display: inline-block;
  padding: 2px 6px;
}

.pagging-container ul li:not(.showpage) {
  color: white;
}

.pagging-container ul li.active {
  color: black;
  border: 1px solid gray;
  cursor: pointer;
}

.pagging-container ul li.active:hover {
  background-color: rgba(209, 209, 209, 0.45);
}

.pagging-container ul li.showpage {
  border: none;
  background-color: white;
}

.norecord {
  text-align: center;
}

.inputWithLabel .inputtextAutoWidth {
  width: auto;
  border: 2px solid #aaa;
  border-radius: 4px;
  margin: 0 0 1em;
  outline: none;
  padding: 8px;
  box-sizing: border-box;
  transition: 0.3s;
}

.inputWithLabel .inputtextAutoWidth {
  width: auto;
  border: 2px solid #aaa;
  border-radius: 4px;
  margin: 0 0 1em;
  outline: none;
  padding: 8px;
  box-sizing: border-box;
  transition: 0.3s;
}

.inputWithLabel .inputtextAutoWidth:focus {
  border-color: dodgerBlue;
  box-shadow: 0 0 8px 0 dodgerBlue;
}

.inputWithLabel .inputLabel {
  margin: 0 4px;
}

.items-group {
  margin-top: 0.5em;
  overflow-y: auto;
  height: calc(100vh - 211px);
}
.item-container {
  display: flex;
  position: relative;
  background-color: hsl(0, 0%, 95%);
  margin-bottom: 0.5em;
  border-bottom: 1px solid blue;
}

.item-container .item-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.item-container .item-image-sku {
  max-width: 98%;
  object-fit: cover;
}

.item-container .itemTitleText {
  font-size: 2em;
  border: none;
  background-color: transparent;
  width: calc(100% - 110px);
}

.item-container .icon-container {
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  top: auto;
}

.icon-container .icon {
  padding: 0.4em;
  color: white;
  background-color: teal;
  font-size: 1.2em;
}

.item-container.upload-more {
  display: flex;
  justify-content: center;
  height: 100px;
  align-items: center;
}

.item-container.upload-more i {
  font-size: 3em;
}

.item-container .numberCircle {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

@media (max-width: 830px) {
  .breadcrumb {
    margin: 12px;
  }
  .action-container {
    width: 100%;
  }
}

@media (min-width: 830px) {
  .items-group {
    margin-top: 0;
    height: 100%;
  }

  .item-container {
    display: block;
    box-sizing: border-box;
  }
  .item-container .item-image {
    display: inline-block;
    width: 150px;
    height: 150px;
    padding: 0;
    margin: 0;
    vertical-align: bottom;
  }
  .item-container .item-image-sku {
    display: inline-block;
    padding: 0;
    margin: 0;
    vertical-align: bottom;
  }
  .item-container .itemTitleText {
    display: inline-block;
    width: 550px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 1px solid black;
    padding-left: 5px;
  }
  .icon-container .icon {
    padding: 0.41em;
    font-size: 1.5em;
  }

  .item-container.upload-more {
    display: none;
  }
}

.not-button {
  -webkit-appearance: button;
  -webkit-writing-mode: horizontal-tb !important;
  text-rendering: auto;
  color: (170, 170, 170);
  background-color: rgb(239, 239, 239);
  box-sizing: border-box;
  margin: 0em;
  padding: 1px 6px;
  border-width: 2px;
  border-style: solid;
  border-color: rgb(175, 175, 175);
  border-radius: 3px;
}

input.larger {
  transform: scale(5);
  margin: 30px;
}

/* 
.photo-list {
  --gap: 12px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin: calc(-1 * var(--gap)) 0 0 calc(-1 * var(--gap));
  width: calc(100% + var(--gap));
}
.photo-list > * {
  margin: var(--gap) 0 0 var(--gap);
} */

.img-card.goto-list {
  width: 100px;
}

.img-card.goto-2nd-list {
  width: 100px;
}

.photo-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  width: calc(100% + 12px);
}
.photo-list > * {
  margin: 12px 0 0 12px;
}

.img-card-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.very-larger {
  font-size: 5em;
}

/* .backto-folder {
  padding-right: 0.5em;
} */

@media (min-width: 830px) {
  .img-card-image {
    width: 150px;
    height: 150px;
  }

  .img-card.goto-list {
    width: 150px;
  }

  .img-card.goto-2nd-list {
    width: 150px;
  }
}

.numberCircle {
  font: 15px Arial, sans-serif;

  width: 2em;
  height: 2em;
  box-sizing: initial;

  background: #fff;
  border: 0.1em solid #666;
  color: #666;
  text-align: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;

  line-height: 2em;
  box-sizing: content-box;
}

.page-form-group {
  margin-top: 0.5em;
  overflow-y: auto;
  height: calc(100vh - 211px);
}

.page-form-group .row-group {
  position: relative;
  background-color: hsl(0, 0%, 95%);
  margin-bottom: 0.5em;
  border-bottom: 1px solid blue;
}

.page-form-group .row-group.input-row {
  display: grid;
  grid-template-columns: 100px auto;
}

.page-form-group .row-group.main-row .main-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  vertical-align: bottom;
}

.page-form-group .row-group.main-row .main-image a {
  text-decoration: none;
}

.page-form-group .row-group.main-row .numberCircle {
  position: absolute;
  top: 0;
  left: 0;
}

.page-form-group .row-group.main-row .itemTitleText {
  font-size: 2em;
  border: none;
  background-color: transparent;
  width: calc(100% - 130px);
  height: 100px;
}

.page-form-group .row-group.input-row .itemSKUNo,
.page-form-group .row-group.input-row .input-column.displayCalc,
.page-form-group .row-group.input-row .itemUnitMOQPcsText,
.page-form-group .row-group.input-row .itemSizeText,
.page-form-group .row-group.input-row .currency,
.page-form-group .row-group.input-row .input-title,
.page-form-group .row-group.input-row .itemUnitPriceText {
  padding: 0.8em;
  border: none;
  background-color: transparent;
}

.page-form-group .row-group.input-row .itemSizeText {
  width: 40px;
}

i.bigger {
  font-size: 2em;
  font-weight: bold;
}

@media (min-width: 830px) {
  .page-form-group {
    margin-top: 0;
    height: 100%;
  }

  .row-group {
    display: block;
    box-sizing: border-box;
  }

  .page-form-group .row-group.input-row {
    grid-template-columns: 150px auto;
  }
}

/* Snackbar / Toast */
div.snackbar {
  visibility: hidden; /* Hidden by default. Visible on click */
  min-width: 250px; /* Set a default minimum width */
  margin-left: -140px; /* Divide value of min-width by 2 */
  background-color: #333; /* Black background color */
  color: #fff; /* White text color */
  text-align: center; /* Centered text */
  border-radius: 2px; /* Rounded borders */
  padding: 16px; /* Padding */
  position: fixed; /* Sit on top of the screen */
  z-index: 1; /* Add a z-index if needed */
  left: 50%; /* Center the snackbar */
  bottom: 50px; /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
div.snackbar.show {
  visibility: visible; /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
  However, delay the fade out process for 2.5 seconds */
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

div.snackbar.error {
  background-color: rgb(255, 0, 0); /* Black background color */
  color: #fff; /* White text color */
  font-weight: bold;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

/* Snackbar / Toast */

/* autocomplete */
.autocomplete {
  /*the container must be positioned relative:*/
  position: relative;
  display: inline-block;
}
.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99999;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important;
  color: #ffffff;
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

/* Toggle Switch */

/* checkbox image */

.img-check-checkbox {
  display: none;
}

.img-check-label {
  border: 1px solid #fff;
  display: block;
  position: relative;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.img-check-label::before {
  background-color: white;
  color: white;
  content: " ";
  display: block;
  border-radius: 50%;
  border: 1px solid grey;
  position: absolute;
  top: -5px;
  left: -5px;
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 28px;
  transition-duration: 0.4s;
  transform: scale(0);
}

.img-check-label img {
  transition-duration: 0.2s;
  transform-origin: 50% 50%;
}

.img-check-checkbox:checked + .img-check-label {
  border-color: #ddd;
}

.img-check-checkbox:checked + .img-check-label::before {
  content: "✓";
  background-color: black;
  transform: scale(1);
}

.img-check-checkbox:checked + .img-check-label img {
  transform: scale(0.75);
  box-shadow: 0 0 5px #333;
  z-index: -1;
}
