/*
Description:
    Contains all the styles for the winning wheel page.
    
Verison History:
    2012-01-28, Douglas McKechie
    - Created based off earlier version.
    
    2015-09-26, Douglas McKechie
    - Minor updates for the 2.0 winwheel example.
*/

body, html
{
    font-family: arial; margin: 0; padding: 0; height: 100%
}

/* Sets the background image for the wheel */
td.the_wheel
{
   
}

* {box-sizing: border-box;}

.spinwheel-embed-responsive {
  position: relative;
  margin: 0 auto;
  width: 100%;
  height: 100%
}
.spinwheel-embed-responsive iframe{
position: absolute;
top: 0;
left: 0;
bottom: 0;
height: 100%;
width: 100%;
border: 0;
display: block;
overflow: hidden
}


.pagecontainer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 100%;
  position: relative;
  padding: 3rem;
  padding: min(8%, 3rem)
}
.pagecontainer:after{
	content:"SPIN\AME";
	font-weight:bold;
	position:absolute;
	top:50%;
	left:50%;
	transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  font-size: 1.5rem;
  font-size: clamp(14px, 4vw, 1.5rem);
  pointer-events: none;
  white-space: pre;
  line-height: 1;
}

.canvas-wrapper{position:relative;}
.canvas-wrapper:before{
	content:"";
	position:absolute;
	width:20%;
	height:20%;
	line-height:102px;
	background:#a7d500;
	border-radius: 500px 0 500px 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg); 
	box-shadow: 10px 5px 70px -5px rgba(0,0,0,0.3), 10px 5px 15px -5px rgba(0,0,0,0.7);
  z-index: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.canvas-wrapper:hover:before {
  background:#c4f905;
}
.canvas-wrapper:active:before {
  transform: translate(-50%, -50%) rotate(45deg) scale(0.9);
  
}
canvas {
  width: 600px;
  max-width: 100%;
  margin: 0 auto;
  display: block;
  border-radius: 50%;
  box-shadow: 0 7px 5px -5px rgb(0 0 0 / 40%), 0 9px 13px -3px rgb(0 0 0 / 35%), 0 14px 20px -2px rgb(0 0 0 / 5%)
}
@media screen and (max-width: 420px) {

}

/* Do some css reset on selected elements */
h1, p
{
    margin: 0;
}



/* Style applied to the spin button once a power has been selected */
.clickable
{
    cursor: pointer;
}

/* Other misc styles */
.margin_bottom
{
    margin-bottom: 5px;
}


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 10; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  
  

}

/* Modal Header */
.modal-header {
  padding: 1rem;
  background-color: #df1995;
  color: white;
}
.modal-header h2 {margin: 0; text-transform: uppercase; font-size: 20px}
/* Modal Body */
.modal-body {padding: 1rem; font-size: 16px; line-height: 1.5}

/* Modal Footer */
.modal-footer {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

/* Modal Content */
.modal-content {
  position: absolute;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 800px;
  box-shadow: 0px 0px 60px -5px rgba(0,0,0,0.6), 0 0 25px -5px rgba(0,0,0,0.9);
}
.modal-content a {
  color: #df1995
}

/* The Close Button */
.close {
  color: #fff;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-left: 1rem
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.modal[style*="display: block"] .modal-content{

}
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {  
 
}



@media screen and (min-width: 768px) {
  .modal-header, .modal-body {padding: 2rem} 
  .modal-header h2{font-size: 24px}
  .modal-body {font-size: 18px}
}