/*
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 {
    font-family: arial;
	background: #300047 url(../../resources/images/my/home_bg.jpg) no-repeat top;
    background-size: cover;
    color: white;
    height: 100vh;
    align-content: center;
}

/* Sets the background image for the wheel */
td.the_wheel {
    background-image: url(glow_bg.gif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
}

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

div.power_controls {
    margin-right: 70px;
}

div.html5_logo {
    margin-left: 70px;
}

/* Styles for the power selection controls */
table.power {
    background-color: #cccccc;
    cursor: pointer;
    border: 1px solid #333333;
}

table.power th {
    background-color: white;
    cursor: default;
}

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

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

#spin_btn {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#spin_btn.disabled {
    filter: grayscale(100%);
}

.spin-bg {
    background-image: url(./bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
    padding-top: 20px;
    padding-bottom: 20px;
	border-radius: 15px;
}

.wheel-bg {
    position: absolute;
    width: 100%;
    height: auto;
}

.wheel-logo {
    position: absolute;
    width: 40%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

canvas {
    height: auto;
    width: 100%;
    display: block;
}

.counter-box{
	display: block;
	background: linear-gradient(to bottom, #8606e9 0%, #2f0046 100%);
	border-radius: 15px;
	margin-top: 20px;
	font-size: 18px;
	color: #ffffff;
	text-align:center;
	padding: 15px 0;
	box-shadow: 0 0 6px #ff00ea;
}

.backtohome{
    text-align: center;
    padding: 15px;
}

.backtohome a{
    text-decoration: none !important;
    color: #ffffff;
}

#tntModal .modal-content,
#scoreBoardModal .modal-content{
	background: linear-gradient(to bottom, #8606e9 0%, #2f0046 100%);
	box-shadow: 0 0 6px #ff00ea;
}

#tntModal .modal-header,
#scoreBoardModal .modal-header{
	border-bottom: none;
}

#tntModal .modal-body{
	max-height: 75vh;
	overflow: auto;
	box-shadow: 0px 0px 15px -3px rgba(0,0,0,0.75) inset
}

#tntModal .modal-footer,
#scoreBoardModal .modal-footer{
	border-top: none;
	justify-content: center;
}

#scoreBoardModal .table>:not(caption)>*>*{
	background: transparent;
	color: #ffffff;
} 

.theme-btn{
	background: linear-gradient(to bottom, rgb(200 45 224) 0%, rgb(152 15 193) 100%);
	color: #fff;
	border: 2px solid #ff00ea;
	font-size: 18px;
	width: 100%;
	font-weight: 500;
	padding: 5px;
	border-radius: 5px;
}

.tnc-btn,
.score-btn{
	cursor: pointer;
	position: fixed;
	right: 8px;
	bottom: 15px;
	max-width: 50px;
	filter: brightness(0) saturate(100%) invert(18%) sepia(100%) saturate(2862%) hue-rotate(301deg) brightness(120%) contrast(132%);
	border: 2px solid #ff00ea;
	border-radius: 50%;
	padding: 5px;
}

.score-btn{
	bottom: 70px;
}