/**************************\
    Payment Modal Style
\**************************/

/* Preload poster image */
/* body::before {
  content: url("");
  position: absolute;
  top: -9999rem;
  left: -9999rem;
  opacity: 0;
} */

:root {
  --tmodal-primary-button-color: 0, 33%, 9%;
  --tmodal-primary-button-color-hover: 0, 33%, 9%;
  --tmodal-secondary-button-color: 0, 33%, 9%;
  --tmodal-secondary-button-color-hover: 0, 33%, 9%;
  --tmodal-link-color: 0, 33%, 9%;
} 

h1.modal__title {
  font-size: 1.7rem;
}

h2.modal__title {
  font-size: 1.4rem;
}

h3.modal__title {
  font-size: 1.2rem;
}

.modal {
  font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir,
    helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.modal a {
  color: hsl(var(--tmodal-link-color));
}

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.77);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99;
}

/* .modal__overlayActive {
  pointer-events: none;
} */

.modal__container {
  /* background: linear-gradient(189deg, rgba(109, 105, 79, 0.5), rgb(18, 15, 0)),
    url("https://cdn.prod.website-files.com/6729298a470f92f0bd94def2/676b2fbcaa5ebd1027a74b7f_FLAMINGO%20EFFECT%20POSTER%20UPDATED%2012.11.24.jpg")
      no-repeat center center; */
  background:linear-gradient(189deg, rgba(84, 84, 84, 0.69), rgb(16, 16, 16)), url("fe-poster.jpg")
  no-repeat center center;
  background-size: cover;
  background-color: #1f1f1f;
  max-width: 650px;
  max-height: 100vh;
  border-radius: 35px;
  overflow-y: auto;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 8px 16px rgba(0, 0, 0, 0.1);
}

.player-brand {
  background: linear-gradient(189deg, rgb(16 59 203), rgb(56 5 142)) !important;
}

.player-brand img {
  height: 40px;
  display: block;
  margin-bottom: 10px;
  margin-left: 47%;
}

.player-brand h2.modal__title {
  font-weight:400;
}

.modal__container-pad {
  padding: 2.7rem;
}

.modal__header {
  /* display: flex; */
  display: block;
  justify-content: space-between;
  align-items: center;
}

.modal__title {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.4;
  color: #fffefe;
  box-sizing: border-box;
  text-align: center;
}

.modal__subtitle {
  text-align: center;
  margin-top: 5px;
  width:100%;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1;
  color: #fffefe;
  box-sizing: border-box;
}

.modal__fineprint {
  margin-top: 25px;
  margin-bottom: 25px;
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1;
  color: #fffefe;
  box-sizing: border-box;
}

.modal__close {
  background: transparent;
  border: 0;
}

.modal__header .modal__close:before {
  content: "\2715";
}

.modal__content {
  display: flex;
  flex-wrap: wrap;
  /* Allow wrapping of columns on smaller screens */
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.8);
}

.modal__content p {
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 0.95;
}

.modal__column {
  flex: 1 1;
  min-width: 170px;
  padding: 25px;
  border-radius: 35px;
  background-color: #1f1919ca;
  border: 1px solid #b9b9b9;
  margin-right: 0px;
  transition: transform 0.1s ease-in, background-color 0.1s ease;
  box-shadow: 0.3s ease background-color 0.3s ease;
  transform: scale(1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.modal__column:nth-child(2n) {
  margin-left: 20px;
}

@media (max-width: 600px) {
  .modal__column {
    flex-basis: 100%;
    margin-right: 0;
  }

  .modal__column:nth-child(2n) {
    margin-top: 10px;
    margin-left: 0px;
  }

  .modal__container {
    margin-top: 100px;
    max-height: 80vh;
  }

  .modal__container-pad {
    padding: 1.5rem;
  }
}

.modal__column:hover {
  /* background-color: #67510090; */
  background-color: hsla(var(--tmodal-primary-button-color), 0.3);
  transform: scale(1.01);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.modal__footer {
  padding-right: 1.4rem;
  padding-left: 1.4rem;
  text-align: center;
}

.modal__btn {
  font-size: 1rem;
  font-weight: 600;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  background-color: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  border-radius: 1.5rem;
  border-style: none;
  border-width: 0;
  width: 100%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  display: flex;
  /* -webkit-appearance: button; */
  text-transform: none;
  overflow: visible;
  line-height: 1.15;
  margin: 0;
  will-change: transform;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  /* transition: background-color 0.5s ease;  */
  transition: -webkit-transform 0.15s ease-out, background-color 0.5s ease;
  transition: transform 0.15s ease-out;
  transition: transform 0.15s ease-out, -webkit-transform 0.15s ease-out;
}

/* .modal__btn-tapp-icon {
  transform: rotate(45deg);
  width: 17px;
  height: 17px;
  margin-right: 9px;
  /* vertical-align: middle; 
  filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.3));
} */

.modal__btn-tapp-icon {
  /* transform: rotate(45deg); */
  width: 20px;
  height: 20px;
  margin-right: 7px;
  /* vertical-align: middle; */
  filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.3));
}

.modal__btn-tapp-text {
  font-weight: 400;
  margin-right: 7px;
  /* vertical-align: middle; */
  filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.3));
}

.modal__btn-text {
  display: inline-block;
  /* vertical-align: middle; */
}

/* .modal__btn:focus,  */
/* .modal__btn:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
  background-color: hsl(var(--bg-primary) / .6);
} */

/* .modal__btn:active {
  transform: scale(0.95);
  background-color: hsl(var(--bg-primary) / .6);
} */

.modal__btn:disabled {
  background-color: #232121c7 !important;
  transform: scale(1) !important;
}

.modal__btn-primary:before{
  background-color:red;
  transform: 0.3s cubic-bezier(0.7, 0, 0.2, 1)
}

.modal__btn-primary {
  background-color: hsl(var(--tmodal-primary-button-color));
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin-top: 20px;
  color: #fff;
}

.modal__btn-primary:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
  background-color: hsla(var(--tmodal-primary-button-color), 0.8);
}

.modal__btn-primary:active {
  transform: scale(0.95);
  background-color: hsla(var(--tmodal-primary-button-color), 0.8);
}

.modal__btn-secondary {
  /* background-color: #b71313c7; */
  background-color: hsl(var(--tmodal-secondary-button-color));
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  color: #fff;
}

.modal__btn-secondary:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
  background-color: hsla(var(--tmodal-secondary-button-color), 0.8);
}

.modal__btn-secondary:active {
  transform: scale(0.95);
  background-color: hsla(var(--tmodal-secondary-button-color), 0.8);
}


.modal__hide {
  /* display: none !important; */
}
/* 
#tapp-verify {
  margin-top:-45px;
} */

/**************************\
	  Demo Animation Style
	  \**************************/
@keyframes mmfadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes mmfadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes mmslideIn {
  from {
    transform: translateY(15%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes mmslideOut {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-10%);
  }
}

.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}

/**************************\
	  Modal 2 Overrides. 
    Refactor this
\**************************/

#modal-2 .modal__container {
  max-width: 500px;
}

#modal-2 .modal__content {
  margin-top: 0px;
}

@media (max-width: 600px) {
  #modal-2 .modal__container {
    margin-top: 400px;
    max-height: 60vh;
  }
}

/**************************\
	  Loading Spinner
\**************************/

.modal__loader.button,
.modal__loader.button:after {
  margin:auto;
  border-radius: 50%;
  width: 3em;
  height: 3em;
  border-top: 0.4em solid rgba(255, 255, 255, 0.2);
  border-right: 0.4em solid rgba(255, 255, 255, 0.2);
  border-bottom: 0.4em solid rgba(255, 255, 255, 0.2);
  border-left: 0.4em solid #f9f8e9;
  display:none;
}
.modal__loader,
.modal__loader:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}

.modal__loader {
  margin: 20px auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(255, 255, 255, 0.2);
  border-right: 1.1em solid rgba(255, 255, 255, 0.2);
  border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
  border-left: 1.1em solid #f9f8e9;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 0.7s infinite linear;
  animation: load8 0.7s infinite linear;
}

@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
