
#message-purchased.wn-product-with-image {
  max-width: 500px;
  min-width: 300px;
}

#message-purchased label{
  display: inline-block!important;
  margin: 0!important
}

#message-purchased {
  border: 0 none;
  border-radius: 6px;
  bottom: 20px;
  display: none;
  font-family: tahoma,sans-serif;
  left: 20px;
  position: fixed;
  right: auto!important;
  text-align: left;
  top: auto!important;
  width: auto;
  z-index: 99999;
  align-items: center;
  flex-direction: row;
}

#message-purchased.wn-product-with-image {
  max-width: 500px;
  min-width: 350px;
}
#message-purchased .wn-notification-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  height: 100%;
  text-align: center;
  padding: 5px;
}
#message-purchased p.wn-notification-message-container {
  overflow: hidden;
  max-width: 400px;
  line-height: 1.8;
  display: grid;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}
#message-purchased .wn-notification-message-container {
  padding-left: 20px;
}
#message-purchased p {
  float: left;
  font-size: 13px;
  line-height: 20px;
  margin: 0;
  padding: 0;
  width: auto;
}
#message-purchased img {
  float: left;
  width: auto;
  align-self: center;
  max-width: 86px;
  max-height: 100%;
  border-radius: 0;
}
img {
  transition: opacity 1s;
  opacity: 1;
}
#message-purchased .message-purchase-main {
  padding: 2px 35px 2px 2px;
  display: flex;
  box-shadow: 0 0 4px 0 rgba(0,0,0,.4);
  position: relative;
  width: 100%;
  height: 100%;
  align-items: center;
  border-radius: 6px;
  background-color: #ffffff;
  color: #000000 !important;
}

#message-purchased .message-purchase-main .close-btn{
  position: absolute;
  top: 5px;
  right: 10.5px;
  border: 0;
  background: transparent;
}

#message-purchased p .wn-popup-product-title, #message-purchased p a {
  color: #000;
  display: block;
  font-size: 14px;
  font-weight: 700;
  width: 100%;
  margin-bottom: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0;
  white-space: nowrap;
}

#message-purchased a, #message-purchased p span {
  color: #000000 !important;
}

#message-purchased .message-purchase-main{
	background: #277088
}

#message-purchased a, #message-purchased *{
	color: #fff!important
}

#message-purchased .purchased-time{
	opacity: .7;
	font-size: 12px!important
}

#message-purchased p a{
  color: #FFD635!important
}

#message-purchased p a::before{
  content: 'bought ';
  color: #fff
}

#message-purchased.fade-in {
  animation-duration: 1s;
  animation-fill-mode: both;
  animation-name: nFadeIn;
  opacity: 0
}
#message-purchased.fade-out {
  animation-duration: 1.5s;
  animation-fill-mode: both;
  animation-name: nFadeOut;
  opacity: 1;
}
#message-purchased .message-purchase-main {
  overflow: hidden;
}
@keyframes nFadeOut {
  0% {
    opacity: 1
  }

  100% {
    bottom: 0;
    opacity: 0;
    transform: translate3d(0,200%,0)
  }
}

@keyframes nFadeIn {
  0% {
    opacity: 0;
    transform: translate3d(0,200%,0)
  }

  100% {
    opacity: 1;
    transform: none
  }
}
@media screen and (max-width: 767px) {
  body #message-purchased {
    top:auto!important;
    box-sizing: border-box;
    left: 10px!important;
    right: 10px!important;
    bottom: 10px!important
  }

  @keyframes nFadeOut {
    0% {
      opacity: 1
    }

    100% {
      bottom: 0;
      opacity: 0;
      transform: translate3d(0,200%,0)
    }
  }

  @keyframes nFadeIn {
    0% {
      opacity: 0;
      transform: translate3d(0,200%,0)
    }

    100% {
      opacity: 1;
      transform: none
    }
  }

  body #message-purchased.wn-extended {
    bottom: 10px!important;
    box-sizing: border-box;
    margin: 0 auto;
    top: auto!important
  }

  body #message-purchased.wn-extended.wn-background-template-type-2 {
    width: unset!important
  }

  #message-purchased.bottom_right {
    right: 0!important
  }

  #message-purchased.top_right {
    right: 0!important
  }

  #message-purchased p {
    font-size: 11px;
    width: 100%
  }

  #message-purchased p a {
    font-size: 13px
  }

  #message-purchased p small {
    margin-bottom: 0
  }

  #message-purchased p.wn-notification-message-container {
    padding-top: 0;
    padding-bottom: 0
  }

  #message-purchased.wn-extended p.wn-notification-message-container {
    width: auto
  }

  #message-purchased.wn-extended.wn-product-with-image p.wn-notification-message-container {
    max-width: 220px
  }
  #message-purchased .message-purchase-main {
	padding: 8px 35px 8px 8px;
  }
}

.text-ellipsis{
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}