.modal-popup .modal-inner-wrap {
    width: 100%;
    max-width: 461px;
}

.modal-content #js--sc--container {
	position: relative;
	margin: 0 auto;
	width: 461px;
	height: 300px;
	border: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	transform: unset !important;
	opacity: 1;
	animation: move 2s;
}
.modal-content #js--sc--container:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./images/loader.gif");
  background-repeat: no-repeat;
  background-position: center center;
}
.modal-content #js--sc--container canvas {
	position: absolute;
	top: 0;
	left: 0;
	height: auto;
	right: 0;
	width: auto;
}

.modal-content #js--sc--container img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#js-debug-cursor {
  position: absolute;
  top: 0;
  left: 0;
  background-color: yellow;
  width: 50px;
  height: 50px;
  z-index: 99;
  will-change: transform;
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
}

.sc__wrapper {
  display: block;
  width: 100%;
  height: 300px;
  max-width: 300px;
  margin: 0 auto;
  border: 5px solid rgba(#FFF, 0.5);
}

 /* Where the scratchcard will be generate. */
.sc__container {
  position: relative;
  overflow: hidden;
  max-height: 300px;
  max-width: 300px;
}

.sc__inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

 /* Background image, the result... */
.sc__container > img {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

 /* The scratchcard generate with scratchcard-js */
.sc__container canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

 /* Scratchcard informations */
.sc__infos {
  text-align: center;
  height: 40px;
  line-height: 40px;
  margin-top: 5px;
  font-weight: bold;
  font-size: 16px;
}

.test {
  color: lightsalmon;
  font-size: 20px;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: white;
}

.modal-inner-wrap .datasection .sc__inner {
	text-align: center;
	font-weight: bold;
	color: #fff;
	background-color: #3c3c3c;
	width: 220px;
	margin: 0 auto;
	padding: 14px;
	border: 2px solid #df0e0e;
	position: absolute;
	top: 106px;
	left: 0;
	right: 0;
	height: auto;
}

.modal-content {
	padding: 0 !important;
}


.modal-footer button {
	background-color: #333;
	box-shadow: unset !important;
	color: #fff;
	font-size: 21px;
	padding: 14px 25px;
}

.modal-inner-wrap .modal-header {
	padding: 16px 0;
}
.modal-popup .modal-title {
	word-wrap: break-word;
	color: #000;
	font-weight: bold;
	padding-left: 15px;
	text-transform: uppercase;
}
@media only screen and (max-width: 550px) and (min-width:320px)  {

.modal-popup .modal-inner-wrap {
    width: 100%;
    max-width: 496px;
    height: 443px !important;
}
}




