/* Main custom page container */
.cpc768-container {
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
}


.cpc1024-container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
}


/* Quiz Details Header */
/* Selecting all elements with vendor prefixes */
* {
  user-select: none;
  -webkit-user-select: none; /* Safari/Chrome */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Edge */
}


	



@keyframes animate { 
   0%   { opacity: 0 } 
   33%  { opacity: 0 }
   34%  { opacity: 1 }
}

@keyframes ticker {
  0%, 100%  {margin-top: 0}
  25%  {margin-top: -30px}
  50%  {margin-top: -60px}
  75%  {margin-top: -90px}
  }
/* End Quiz Details Header */


/* Winners Table */
table {
	width : 90% ;
	margin-left: auto;
  margin-right: auto;
	border-radius: 10px;
	overflow: hidden;
}

table, tbody, tr, th, td {
   text-align:center;
   font-family: Arial, sans-serif;
   font-size: 14.5px ;
   border-collapse: separate;
   }

th {
   background-color: #ffffee ;
}

th:first-child {
  border-top-left-radius: 10px;
}

th:last-child {
  border-top-right-radius: 10px;
}

tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}

table, tr,td {
   white-space: nowrap;
	 }

td, th, tr {
	border : none ;
	padding: 7px 12px;
}


/* End Winners Table */



.site-footer {
display:none;
}


.login .button.button-primary {
  float: left;
  width: 50%;
  text-align: center;
}

.login .button.free-quiz-registration {
  float: right;
  width: 50%;
  text-align: center;
}

.winnerrow {
background-color : #228B22;
color : white;
}

.hsrow {
background-color : #E8F5E9;
}
	
.psrow {
background-color : #E8F5E9;
}


/* Start AJAX processing */
#loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

#loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  width: 50px;
	height:50px;
  border-radius: 50%;
  border: 5px solid #f9f9f9;
  animation:
    l20-1 0.8s infinite linear alternate,
    l20-2 1.6s infinite linear;
}

@keyframes l20-1{
   0%    {clip-path: polygon(50% 50%,0       0,  50%   0%,  50%    0%, 50%    0%, 50%    0%, 50%    0% )}
   12.5% {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100%   0%, 100%   0%, 100%   0% )}
   25%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 100% 100%, 100% 100% )}
   50%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
   62.5% {clip-path: polygon(50% 50%,100%    0, 100%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
   75%   {clip-path: polygon(50% 50%,100% 100%, 100% 100%,  100% 100%, 100% 100%, 50%  100%, 0%   100% )}
   100%  {clip-path: polygon(50% 50%,50%  100%,  50% 100%,   50% 100%,  50% 100%, 50%  100%, 0%   100% )}
}

@keyframes l20-2 {
  0%    { transform: translate(-50%, -50%) scaleY(1) rotate(0deg); }
  49.99% { transform: translate(-50%, -50%) scaleY(1) rotate(135deg); }
  50%   { transform: translate(-50%, -50%) scaleY(-1) rotate(0deg); }
  100%  { transform: translate(-50%, -50%) scaleY(-1) rotate(-135deg); }
}


/* End AJAX processing */

/* pagination start */
.pagination {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    margin: 15px auto 0px;
}


#txnsLine, #prev-button,
#page-info, #txnsPage,
#next-button , #upi_nulls, #all-btn, #payouts-btn {
    height: 35px;
    width: 35px;
    margin: 5px;
    text-align: center;
    background-color: #fffff0;
    color: black;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
  	vertical-align: middle;
}

#txnsLine , #upi_nulls {
    width: 90px;
	  padding: 0 7px;
}

.active-btn {
	background-color: #ffffc0 !important;
	color: black !important;	
  border: 1px solid #ccc !important;
}

#all-btn, #payouts-btn {
		width: auto;
	  padding: 0 12px;
		background-color: white;
}

#txnsPage {
display: none;
}

/* pagination End */


/* Swal btn no-focus start */
.swal2-popup .swal2-styled:focus {
    box-shadow: none !important;
}


.no_display {
	display: none !important;
}


/* start bottom sheet overlay */

.bs-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
	height: 100%;
  background: rgba(0, 0, 0, 0.6);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1001;
}

.bs-overlay.open {
  visibility: visible;
  opacity: 1;
}

.bs-overlay.closing {
  opacity: 0;
}

/* Bottom Sheet */
.bottom-sheet {
	display: flex;
	flex-direction: column;
  width: 100%;
	height: 85%;
  max-height: 85%;
  background: #fff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.bs-overlay.open .bottom-sheet {
  transform: translateY(0);
}

.bs-overlay.closing .bottom-sheet {
  transform: translateY(100%);
}

/* Fixed Header */
.bs-header {
  position: sticky;
	max-height: 55px;
  top: 0;
  background: #fff;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
}

/* Title left */
.bs-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

/* Close button right */
.bs-close-btn {
  font-size: 40px;
  cursor: pointer;
	color: red;
}


/* Content */
.bottom-sheet-content {
	max-height: calc(100% - 55px);
  padding: 0px 15px;
  overflow-y: auto;
  flex: 1;
}


/* End bottom sheet overlay */

