/* -------------------------------------- marketplace-offers -------------------------------------- */

.marketplace-offers {
  width: 100%;
  float: left;
  margin-bottom: 40px;
}

.marketplace-offers .offer {
  display: flex;
  align-items: baseline;
  background-color: #003399;
  color: white;
  min-height: 70px;
  margin-bottom: 5px;
  border: 3px solid #042465;
  padding: 0 30px;
}

.marketplace-offers .offer-info {
  height: 100%;
  display: flex;
  align-items: flex-start;
  flex-grow: 1;
  flex-direction: column;
  justify-content: center;
}

.marketplace-offers .offer-info > h3 {
  color: inherit;
  max-height: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.marketplace-offers .offer-rating {
  font-size: 14px;
  cursor: pointer;
}

.marketplace-offers .offer-price-wrapper {
  flex: 0 0 120px;
  height: 100%;
  display: flex;
  align-items: center;
  margin: 0 10px;
  flex-direction: column;
  justify-content: center;
}

.marketplace-offers .offer-price-wrapper > h1 {
  opacity: 0.6;
  margin-bottom: 0px !important;
  color: inherit;
}

.marketplace-offers .offer-price-wrapper > span {
  display: none;
  border: 1px solid white;
  border-radius: 15px;
  padding: 0px 8px;
  color: inherit;
  font-size: 13px;
}

.marketplace-offers .offer-price-wrapper.lowest-price > span {
  display: block;
}

.marketplace-offers .offer-price-wrapper.lowest-price > h1 {
  opacity: 1;
}

.marketplace-offers .fa.fa-cart-plus {
  cursor: pointer;
  font-size: 36px;
  margin: auto;
}

.marketplace-offers .fa.fa-cart-plus:hover {
  color: lightblue;
}

@media screen and (max-width: 768px) {
  .marketplace-offers .offer-price-wrapper {
    flex: 0 0 100px;
  }
}

/* -------------------------------------- basket-seller-info -------------------------------------- */

.basket-seller-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
  margin-top: 5px;
}

.basket-seller-info > p {
  margin: 0;
  font-weight: 700;
  font-size: 13px;
}

.basket-seller-info--rating .fa {
  color: #003399;
  font-weight: 400;
  font-size: 16px;
}

.basket-seller-info span {
  font-weight: 700;
  font-size: 13px;
}

/* -------------------------------------- main-buy-button -------------------------------------- */

.main-buy-button--wrapper {
  display: flex;
  flex-direction: column;
  border-top: solid #3f3f3f 1px;
  margin-top: 10px;
}

.main-buy-button--header {
  border-bottom: 1px solid #3f3f3f;
  text-align: center;
  padding: 5px;
}

.main-buy-button--body {
  display: flex;
  flex-direction: column;
  padding: 10px 0px;
}

.seller-rating {
  width: fit-content;
  cursor: pointer;
  margin: 0 auto 15px;
  text-align: center;
}

.seller-rating .fa {
  color: #FDCB0B;
}

.main-buy-button--body img {
  width: 50%;
  margin: auto;
  margin-bottom: 15px;
}

.vertical-divider {
  border-right: 1px solid #d7d7d7;
  margin-right: 4px;
}

/* -------------------------------------- digital-product-review -------------------------------------- */

.digital-product-review {
  display: flex;
  flex-direction: column;
  margin-top: 50px;
  padding: 10px 15px;
  border: 2px solid #d7d7d7;
}

.digital-product-review .purchase-review-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 25px;
}

.digital-product-review label[for="purchase-review-rating"] {
  text-align: center;
}

/*  
* Rating styles
*/
.rating {
  width: 226px;
  margin: 0 auto;
  font-size: 45px;
  overflow: hidden;
}

.rating input {
  float: right;
  opacity: 0;
  position: absolute;
}

.rating label {
  float: right;
  color: #aaa;
  text-decoration: none;
  -webkit-transition: color 0.4s;
  -moz-transition: color 0.4s;
  -o-transition: color 0.4s;
  transition: color 0.4s;
}

.rating input:not(:disabled) ~ label:hover ~ label,
.rating input:not(:disabled):focus ~ label,
.rating input:checked ~ label ~ label,
.rating input:checked ~ label,
.rating input:not(:disabled) ~ label:hover {
  color: #003399;
}

.rating input:not(:checked):not(:disabled) ~ label:hover,
.rating input:not(:checked):not(:disabled) ~ label:hover ~ label {
  color: #003399;
  opacity: 0.75;
}

.rating input:not(:disabled) ~ label {
  cursor: pointer;
}

/* ---------------------------------------- */

.digital-product-review button[type="submit"] {
  width: 100px;
  margin: auto;
}

.digital-product-review button[type="submit"]:disabled {
  background: #d7d7d7;
  cursor: not-allowed;
}

.digital-product-review button[type="submit"]:disabled::before {
  background: #d7d7d7;
}

/* -------------------------------------- loader spinner -------------------------------------- */

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #003399;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}

/* ---------------------------------------- */

/* -------------------------------------- shimmer effect -------------------------------------- */

.br {
  border-radius: 8px;
}
.w80 {
  width: 80%;
}
.shimmer-wrapper {
  width: 0px;
  animation: fullView 0.5s forwards cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.shimmer-comment {
  height: 10px;
  background: #777;
  margin-top: 20px;
}

@keyframes fullView {
  100% {
    width: 100%;
  }
}

.shimmer-animate {
  animation: shimmer 2s infinite linear;
  background: linear-gradient(to right, #eff1f3 4%, #e2e2e2 25%, #eff1f3 36%);
  background-size: 1000px 100%;
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* ---------------------------------------- */

/* -------------------------------------- arbitration flow -------------------------------------- */

/* -------------------------------------- Start -------------------------------------- */

#arbitration-flow-start {
  margin: 75px 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* -------------------------------------- End -------------------------------------- */

#arbitration-flow-end {
  margin: 75px 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#arbitration-flow-end span {
  background: #003399;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 600;
  color: white;
}

/* -------------------------------------- Chat -------------------------------------- */

#arbitration-flow-chat {
  margin: 50px auto;
}

#arbitration-flow-chat .chat-window::-webkit-scrollbar {
  width: 4px;
}

#arbitration-flow-chat .chat-window::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 2px;
}

#arbitration-flow-chat .header-status h1 {
  margin-bottom: 5px;
}

#arbitration-flow-chat .header-status .status-chip {
  background: #003399;
  padding: 5px 10px;
  border-radius: 14px;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
}

#arbitration-flow-chat .header-status .status-chip.status-open {
  background: #003399;
  color: #fff;
}

#arbitration-flow-chat .header-status .status-chip.status-replaced {
  background: #daa520;
  color: #fff;
}

#arbitration-flow-chat .header-status .status-chip.status-refunded {
  background: #ffa726;
  color: #000;
}

#arbitration-flow-chat .header-status .status-chip.status-eurogames {
  background: #000;
  color: #fff;
}

#arbitration-flow-chat .header-status .status-chip .fa {
  margin-right: 5px;
  font-size: 15px;
}

#arbitration-flow-chat .dispute-actions-wrapper {
  border-top: 2px solid rgba(0, 0, 0, 0.14);
  border-bottom: 2px solid rgba(0, 0, 0, 0.14);
  padding: 20px 10px;
  margin: 35px 0;
  position: relative;
}

#arbitration-flow-chat .dispute-actions-wrapper > span {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(45px, -50%);
  background: #fff;
  padding: 0px 15px;
  font-weight: 600;
}

#arbitration-flow-chat .dispute-actions-wrapper .dispute-actions {
  display: flex;
}

#arbitration-flow-chat .replacement-code-wrapper {
  margin: 30px 0;
}

.replacement-code-wrapper input {
  cursor: default !important;
}

#arbitration-flow-chat .chatbox {
  width: min(100%, 750px);
  height: 400px;
  max-height: 400px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
  margin: 25px auto;
}

#arbitration-flow-chat .chat-window {
  flex: auto;
  max-height: calc(100% - 60px);
  overflow: auto;
  padding-top: 13px;
}

#arbitration-flow-chat .chat-input {
  flex: 0 0 auto;
  height: 60px;
  border-top: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
}

#arbitration-flow-chat .chat-input input[type="text"] {
  height: 59px;
  line-height: 60px;
  outline: 0 none;
  border: none;
  width: calc(100% - 120px);
  color: rgba(0, 0, 0, 0.85);
  font-size: 12pt;
  padding: 0 0 0 7px;
}

#arbitration-flow-chat .chat-input button {
  position: relative;
  float: right;
  outline: 0 none;
  border: none;
  background: rgba(0, 0, 0, 0.25);
  height: 40px;
  width: 40px;
  border-radius: 50%;
  padding: 2px 0 0 0;
  margin: 10px;
  transition: all 0.15s ease-in-out;
}

#arbitration-flow-chat .chat-input svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#arbitration-flow-chat .chat-input button:enabled {
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.24);
  background: #003399;
}

#arbitration-flow-chat .chat-input button:enabled:hover {
  box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#arbitration-flow-chat .chat-input button:enabled path {
  fill: #fff;
}

#arbitration-flow-chat .chat-input button.upload-file > span {
  color: #fff;
  font-weight: 900;
}

#arbitration-flow-chat .msg-container {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 10px 0;
  padding: 0;
}

#arbitration-flow-chat .msg-box {
  display: flex;
  padding: 10px 10px 0 10px;
  border-radius: 0 6px 6px 0;
  max-width: 80%;
  width: auto;
  float: left;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.24);
  margin-left: 15px;
}

#arbitration-flow-chat .flr {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: calc(100% - 50px);
}

#arbitration-flow-chat .messages {
  flex: 1 0 auto;
}

#arbitration-flow-chat .msg {
  display: inline-block;
  font-size: 11pt;
  line-height: 13pt;
  color: rgba(0, 0, 0, 0.85);
  margin: 0 0 4px 0;
  text-align: justify;
}

#arbitration-flow-chat .msg .replacement-message {
  background-color: rgba(255, 238, 88, 0.5);
}

#arbitration-flow-chat .msg .fa {
  font-weight: 900;
  margin-right: 5px;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

#arbitration-flow-chat .msg .fa-spinner {
  font-weight: 900;
  margin-left: 5px;
  animation: rotation 2s infinite linear;
}

#arbitration-flow-chat .msg:first-of-type {
  margin-top: 8px;
}

#arbitration-flow-chat .timestamp {
  color: rgba(0, 0, 0, 0.5);
  font-size: 8pt;
  margin-bottom: 10px;
}

#arbitration-flow-chat .username {
  margin-right: 3px;
  border-radius: 10px;
  padding: 2px 6px;
}

#arbitration-flow-chat .username.username-eurogames {
  background-color: rgba(0, 0, 0, 0.25);
}

#arbitration-flow-chat .username.username-seller {
  background-color: rgba(173, 255, 47, 0.25);
}

#arbitration-flow-chat .username.username-customer {
  background-color: rgba(30, 144, 255, 0.25);
}

#arbitration-flow-chat .posttime {
  margin-left: 3px;
}

#arbitration-flow-chat .msg-self .msg-box {
  margin-right: 15px;
  border-radius: 6px 0 0 6px;
  float: right;
}

#arbitration-flow-chat .msg-self .timestamp {
  text-align: right;
}

/* ---------------------------------------- */

/* -------------------------------------- FRONTEND -------------------------------------- */

#main-header-logo {
  height: 85px !important;
  vertical-align: middle !important;
  margin: 0 10px 10px;
  cursor: pointer;
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 1539px) {
  #main-header-logo {
    height: 54px !important;
    margin-top: 15px;
  }
}

/* ----------------------------------------- END ---------------------------------------- */